From 2c7e04488fc26db34a1972871455863da0ba8ecd Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 15 Feb 2023 18:20:46 -0500 Subject: [PATCH] feat: [analyticsadmin] add `GetSearchAds360Link`, `ListSearchAds360Links`, `CreateSearchAds360Link`, `DeleteSearchAds360Link`, `UpdateSearchAds360Link` methods to the Admin API v1alpha (#9093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add `GetSearchAds360Link`, `ListSearchAds360Links`, `CreateSearchAds360Link`, `DeleteSearchAds360Link`, `UpdateSearchAds360Link` methods to the Admin API v1alpha feat: add `SetAutomatedGa4ConfigurationOptOut`, `FetchAutomatedGa4ConfigurationOptOut` methods to the Admin API v1alpha feat: add `GetBigQueryLink`, `ListBigQueryLinks` methods to the Admin API v1alpha feat: add `tokens_per_project_per_hour` field to `AccessQuota` type feat: add `EXPANDED_DATA_SET`, `CHANNEL_GROUP` values to `ChangeHistoryResourceType` enum feat: add `search_ads_360_link`, `expanded_data_set`, `bigquery_link` values to ChangeHistoryResource.resource oneof field feat: add `BigQueryLink`, `SearchAds360Link` resource types to the Admin API v1alpha fix!: remove `LESS_THAN_OR_EQUAL`, `GREATER_THAN_OR_EQUAL` values from NumericFilter.Operation enum fix!: remove `PARTIAL_REGEXP` value from StringFilter.MatchType enum PiperOrigin-RevId: 507839187 Source-Link: https://github.com/googleapis/googleapis/commit/b221f5fb4422f51f83416d83a13f15116083cc00 Source-Link: https://github.com/googleapis/googleapis-gen/commit/96b7c43fc3dca6c8767a6d731b516daf9ad50668 Copy-Tag: eyJwIjoiamF2YS1hbmFseXRpY3MtYWRtaW4vLk93bEJvdC55YW1sIiwiaCI6Ijk2YjdjNDNmYzNkY2E2Yzg3NjdhNmQ3MzFiNTE2ZGFmOWFkNTA2NjgifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- java-analytics-admin/README.md | 6 +- .../v1alpha/AnalyticsAdminServiceClient.java | 1540 +++++++- .../AnalyticsAdminServiceSettings.java | 129 + .../admin/v1alpha/gapic_metadata.json | 27 + .../stub/AnalyticsAdminServiceStub.java | 74 + .../AnalyticsAdminServiceStubSettings.java | 538 ++- .../stub/GrpcAnalyticsAdminServiceStub.java | 369 ++ .../HttpJsonAnalyticsAdminServiceStub.java | 578 +++ ...alyticsAdminServiceClientHttpJsonTest.java | 758 ++++ .../AnalyticsAdminServiceClientTest.java | 663 ++++ .../MockAnalyticsAdminServiceImpl.java | 193 + .../v1alpha/AnalyticsAdminServiceGrpc.java | 1210 +++++- .../analytics/admin/v1alpha/AccessQuota.java | 369 +- .../admin/v1alpha/AccessQuotaOrBuilder.java | 57 +- .../admin/v1alpha/AccessReportProto.java | 17 +- .../AcknowledgeUserDataCollectionRequest.java | 28 +- ...dgeUserDataCollectionRequestOrBuilder.java | 8 +- .../admin/v1alpha/AnalyticsAdminProto.java | 1379 ++++--- .../admin/v1alpha/AttributionSettings.java | 84 +- .../v1alpha/AttributionSettingsOrBuilder.java | 24 +- .../analytics/admin/v1alpha/Audience.java | 214 +- .../AudienceDimensionOrMetricFilter.java | 157 +- ...ienceDimensionOrMetricFilterOrBuilder.java | 10 +- .../admin/v1alpha/AudienceEventFilter.java | 48 +- .../v1alpha/AudienceEventFilterOrBuilder.java | 12 +- .../admin/v1alpha/AudienceOrBuilder.java | 52 +- .../admin/v1alpha/AudienceProto.java | 203 +- .../admin/v1alpha/AudienceSequenceFilter.java | 292 +- .../AudienceSequenceFilterOrBuilder.java | 20 +- .../admin/v1alpha/AudienceSimpleFilter.java | 36 +- .../AudienceSimpleFilterOrBuilder.java | 9 +- .../v1alpha/BatchCreateUserLinksRequest.java | 52 +- .../BatchCreateUserLinksRequestOrBuilder.java | 14 +- .../analytics/admin/v1alpha/BigQueryLink.java | 2012 ++++++++++ .../admin/v1alpha/BigQueryLinkName.java | 192 + .../admin/v1alpha/BigQueryLinkOrBuilder.java | 281 ++ .../admin/v1alpha/ChangeHistoryChange.java | 1096 +++++- .../v1alpha/ChangeHistoryResourceType.java | 44 + .../admin/v1alpha/ConversionEvent.java | 52 +- .../v1alpha/ConversionEventOrBuilder.java | 13 +- .../v1alpha/CreateConversionEventRequest.java | 28 +- ...CreateConversionEventRequestOrBuilder.java | 8 +- .../CreateSearchAds360LinkRequest.java | 947 +++++ ...reateSearchAds360LinkRequestOrBuilder.java | 95 + .../admin/v1alpha/CreateUserLinkRequest.java | 16 +- .../CreateUserLinkRequestOrBuilder.java | 4 +- .../admin/v1alpha/CustomDimension.java | 65 +- .../v1alpha/CustomDimensionOrBuilder.java | 18 +- .../analytics/admin/v1alpha/CustomMetric.java | 102 +- .../admin/v1alpha/CustomMetricOrBuilder.java | 30 +- .../DeleteSearchAds360LinkRequest.java | 658 ++++ ...eleteSearchAds360LinkRequestOrBuilder.java | 56 + .../DisplayVideo360AdvertiserLink.java | 251 +- ...isplayVideo360AdvertiserLinkOrBuilder.java | 64 +- ...DisplayVideo360AdvertiserLinkProposal.java | 112 +- ...deo360AdvertiserLinkProposalOrBuilder.java | 32 +- .../admin/v1alpha/ExpandedDataSet.java | 2281 +++++++++++ .../admin/v1alpha/ExpandedDataSetFilter.java | 3438 +++++++++++++++++ .../ExpandedDataSetFilterExpression.java | 1548 ++++++++ .../ExpandedDataSetFilterExpressionList.java | 1038 +++++ ...dDataSetFilterExpressionListOrBuilder.java | 91 + ...andedDataSetFilterExpressionOrBuilder.java | 155 + .../ExpandedDataSetFilterOrBuilder.java | 133 + .../v1alpha/ExpandedDataSetOrBuilder.java | 324 ++ .../admin/v1alpha/ExpandedDataSetProto.java | 186 + ...utomatedGa4ConfigurationOptOutRequest.java | 683 ++++ ...a4ConfigurationOptOutRequestOrBuilder.java | 56 + ...tomatedGa4ConfigurationOptOutResponse.java | 575 +++ ...4ConfigurationOptOutResponseOrBuilder.java | 38 + .../analytics/admin/v1alpha/FirebaseLink.java | 42 +- .../admin/v1alpha/FirebaseLinkOrBuilder.java | 12 +- .../admin/v1alpha/GetBigQueryLinkRequest.java | 658 ++++ .../GetBigQueryLinkRequestOrBuilder.java | 58 + .../v1alpha/GetSearchAds360LinkRequest.java | 655 ++++ .../GetSearchAds360LinkRequestOrBuilder.java | 56 + .../admin/v1alpha/GlobalSiteTag.java | 28 +- .../admin/v1alpha/GlobalSiteTagOrBuilder.java | 8 +- .../admin/v1alpha/GoogleAdsLink.java | 21 +- .../admin/v1alpha/GoogleAdsLinkOrBuilder.java | 6 +- .../v1alpha/ListBigQueryLinksRequest.java | 966 +++++ .../ListBigQueryLinksRequestOrBuilder.java | 105 + .../v1alpha/ListBigQueryLinksResponse.java | 1147 ++++++ .../ListBigQueryLinksResponseOrBuilder.java | 104 + .../v1alpha/ListFirebaseLinksRequest.java | 14 +- .../ListFirebaseLinksRequestOrBuilder.java | 4 +- .../v1alpha/ListSearchAds360LinksRequest.java | 962 +++++ ...ListSearchAds360LinksRequestOrBuilder.java | 102 + .../ListSearchAds360LinksResponse.java | 1178 ++++++ ...istSearchAds360LinksResponseOrBuilder.java | 110 + .../v1alpha/MeasurementProtocolSecret.java | 63 +- .../MeasurementProtocolSecretOrBuilder.java | 18 +- .../analytics/admin/v1alpha/Property.java | 239 +- .../admin/v1alpha/PropertyOrBuilder.java | 64 +- .../admin/v1alpha/ResourcesProto.java | 749 ++-- .../admin/v1alpha/SearchAds360Link.java | 2261 +++++++++++ .../admin/v1alpha/SearchAds360LinkName.java | 198 + .../v1alpha/SearchAds360LinkOrBuilder.java | 287 ++ .../SearchChangeHistoryEventsRequest.java | 259 +- ...chChangeHistoryEventsRequestOrBuilder.java | 76 +- ...utomatedGa4ConfigurationOptOutRequest.java | 771 ++++ ...a4ConfigurationOptOutRequestOrBuilder.java | 69 + ...tomatedGa4ConfigurationOptOutResponse.java | 466 +++ ...4ConfigurationOptOutResponseOrBuilder.java | 24 + .../admin/v1alpha/UpdateAccountRequest.java | 84 +- .../UpdateAccountRequestOrBuilder.java | 21 +- .../UpdateAttributionSettingsRequest.java | 84 +- ...teAttributionSettingsRequestOrBuilder.java | 21 +- .../admin/v1alpha/UpdateAudienceRequest.java | 84 +- .../UpdateAudienceRequestOrBuilder.java | 21 +- .../v1alpha/UpdateCustomDimensionRequest.java | 72 +- ...UpdateCustomDimensionRequestOrBuilder.java | 18 +- .../v1alpha/UpdateCustomMetricRequest.java | 72 +- .../UpdateCustomMetricRequestOrBuilder.java | 18 +- .../UpdateDataRetentionSettingsRequest.java | 84 +- ...DataRetentionSettingsRequestOrBuilder.java | 21 +- .../v1alpha/UpdateDataStreamRequest.java | 72 +- .../UpdateDataStreamRequestOrBuilder.java | 18 +- ...eDisplayVideo360AdvertiserLinkRequest.java | 72 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 18 +- .../v1alpha/UpdateGoogleAdsLinkRequest.java | 84 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 21 +- .../UpdateGoogleSignalsSettingsRequest.java | 84 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 21 +- .../admin/v1alpha/UpdatePropertyRequest.java | 84 +- .../UpdatePropertyRequestOrBuilder.java | 21 +- .../UpdateSearchAds360LinkRequest.java | 1022 +++++ ...pdateSearchAds360LinkRequestOrBuilder.java | 104 + .../admin/v1alpha/access_report.proto | 10 +- .../admin/v1alpha/analytics_admin.proto | 638 ++- .../analytics/admin/v1alpha/audience.proto | 92 +- .../admin/v1alpha/expanded_data_set.proto | 151 + .../analytics/admin/v1alpha/resources.proto | 333 +- .../AsyncCreateSearchAds360Link.java | 52 + .../SyncCreateSearchAds360Link.java | 48 + ...ds360LinkPropertynameSearchads360Link.java | 45 + ...earchAds360LinkStringSearchads360Link.java | 45 + .../AsyncDeleteSearchAds360Link.java | 51 + .../SyncDeleteSearchAds360Link.java | 47 + ...eSearchAds360LinkSearchads360Linkname.java | 43 + .../SyncDeleteSearchAds360LinkString.java | 43 + ...cFetchAutomatedGa4ConfigurationOptOut.java | 52 + ...cFetchAutomatedGa4ConfigurationOptOut.java | 47 + .../getbigquerylink/AsyncGetBigQueryLink.java | 51 + .../getbigquerylink/SyncGetBigQueryLink.java | 47 + .../SyncGetBigQueryLinkBigquerylinkname.java | 43 + .../SyncGetBigQueryLinkString.java | 43 + .../AsyncGetSearchAds360Link.java | 51 + .../SyncGetSearchAds360Link.java | 47 + ...tSearchAds360LinkSearchads360Linkname.java | 43 + .../SyncGetSearchAds360LinkString.java | 43 + .../AsyncListBigQueryLinks.java | 55 + .../AsyncListBigQueryLinksPaged.java | 63 + .../SyncListBigQueryLinks.java | 52 + .../SyncListBigQueryLinksPropertyname.java | 46 + .../SyncListBigQueryLinksString.java | 46 + .../AsyncListSearchAds360Links.java | 55 + .../AsyncListSearchAds360LinksPaged.java | 63 + .../SyncListSearchAds360Links.java | 52 + ...SyncListSearchAds360LinksPropertyname.java | 46 + .../SyncListSearchAds360LinksString.java | 46 + ...yncSetAutomatedGa4ConfigurationOptOut.java | 53 + ...yncSetAutomatedGa4ConfigurationOptOut.java | 48 + .../AsyncUpdateSearchAds360Link.java | 52 + .../SyncUpdateSearchAds360Link.java | 48 + ...chAds360LinkSearchads360LinkFieldmask.java | 45 + 165 files changed, 39289 insertions(+), 3439 deletions(-) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java create mode 100644 java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md index dd16cd1259f9..4a4de4f34892 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.analytics google-analytics-admin - 0.18.0 + 0.20.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-admin:0.18.0' +implementation 'com.google.analytics:google-analytics-admin:0.20.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.18.0" +libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.20.0" ``` ## Authentication 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 49d5db402a6d..17be037cdb1e 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 @@ -1148,7 +1148,7 @@ public final UnaryCallable createPropertyCallab * resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. * https://support.google.com/analytics/answer/6154772 * - *

Returns an error if the target is not found, or is not an GA4 Property. + *

Returns an error if the target is not found, or is not a GA4 Property. * *

Sample code: * @@ -1186,7 +1186,7 @@ public final Property deleteProperty(PropertyName name) { * resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. * https://support.google.com/analytics/answer/6154772 * - *

Returns an error if the target is not found, or is not an GA4 Property. + *

Returns an error if the target is not found, or is not a GA4 Property. * *

Sample code: * @@ -1223,7 +1223,7 @@ public final Property deleteProperty(String name) { * resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. * https://support.google.com/analytics/answer/6154772 * - *

Returns an error if the target is not found, or is not an GA4 Property. + *

Returns an error if the target is not found, or is not a GA4 Property. * *

Sample code: * @@ -1261,7 +1261,7 @@ public final Property deleteProperty(DeletePropertyRequest request) { * resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. * https://support.google.com/analytics/answer/6154772 * - *

Returns an error if the target is not found, or is not an GA4 Property. + *

Returns an error if the target is not found, or is not a GA4 Property. * *

Sample code: * @@ -8876,7 +8876,8 @@ public final UnaryCallable getDataStreamCallab // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lookup for a single Audience. Audiences created before 2020 may not be supported. + * Lookup for a single Audience. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -8905,7 +8906,8 @@ public final Audience getAudience(AudienceName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lookup for a single Audience. Audiences created before 2020 may not be supported. + * Lookup for a single Audience. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -8933,7 +8935,8 @@ public final Audience getAudience(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lookup for a single Audience. Audiences created before 2020 may not be supported. + * Lookup for a single Audience. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -8962,7 +8965,8 @@ public final Audience getAudience(GetAudienceRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lookup for a single Audience. Audiences created before 2020 may not be supported. + * Lookup for a single Audience. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -8991,7 +8995,8 @@ public final UnaryCallable getAudienceCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists Audiences on a property. Audiences created before 2020 may not be supported. + * Lists Audiences on a property. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -9023,7 +9028,8 @@ public final ListAudiencesPagedResponse listAudiences(PropertyName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists Audiences on a property. Audiences created before 2020 may not be supported. + * Lists Audiences on a property. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -9052,7 +9058,8 @@ public final ListAudiencesPagedResponse listAudiences(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists Audiences on a property. Audiences created before 2020 may not be supported. + * Lists Audiences on a property. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -9085,7 +9092,8 @@ public final ListAudiencesPagedResponse listAudiences(ListAudiencesRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists Audiences on a property. Audiences created before 2020 may not be supported. + * Lists Audiences on a property. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -9119,7 +9127,8 @@ public final ListAudiencesPagedResponse listAudiences(ListAudiencesRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists Audiences on a property. Audiences created before 2020 may not be supported. + * Lists Audiences on a property. Audiences created before 2020 may not be supported. Default + * audiences will not show filter definitions. * *

Sample code: * @@ -9431,6 +9440,736 @@ public final UnaryCallable archiveAudienceCallabl return stub.archiveAudienceCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Look up a single SearchAds360Link + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]");
+   *   SearchAds360Link response = analyticsAdminServiceClient.getSearchAds360Link(name);
+   * }
+   * }
+ * + * @param name Required. The name of the SearchAds360Link to get. Example format: + * properties/1234/SearchAds360Link/5678 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SearchAds360Link getSearchAds360Link(SearchAds360LinkName name) { + GetSearchAds360LinkRequest request = + GetSearchAds360LinkRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getSearchAds360Link(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Look up a single SearchAds360Link + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString();
+   *   SearchAds360Link response = analyticsAdminServiceClient.getSearchAds360Link(name);
+   * }
+   * }
+ * + * @param name Required. The name of the SearchAds360Link to get. Example format: + * properties/1234/SearchAds360Link/5678 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SearchAds360Link getSearchAds360Link(String name) { + GetSearchAds360LinkRequest request = + GetSearchAds360LinkRequest.newBuilder().setName(name).build(); + return getSearchAds360Link(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Look up a single SearchAds360Link + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   GetSearchAds360LinkRequest request =
+   *       GetSearchAds360LinkRequest.newBuilder()
+   *           .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString())
+   *           .build();
+   *   SearchAds360Link response = analyticsAdminServiceClient.getSearchAds360Link(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SearchAds360Link getSearchAds360Link(GetSearchAds360LinkRequest request) { + return getSearchAds360LinkCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Look up a single SearchAds360Link + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   GetSearchAds360LinkRequest request =
+   *       GetSearchAds360LinkRequest.newBuilder()
+   *           .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.getSearchAds360LinkCallable().futureCall(request);
+   *   // Do something.
+   *   SearchAds360Link response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getSearchAds360LinkCallable() { + return stub.getSearchAds360LinkCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all SearchAds360Links on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   PropertyName parent = PropertyName.of("[PROPERTY]");
+   *   for (SearchAds360Link element :
+   *       analyticsAdminServiceClient.listSearchAds360Links(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. Example format: properties/1234 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSearchAds360LinksPagedResponse listSearchAds360Links(PropertyName parent) { + ListSearchAds360LinksRequest request = + ListSearchAds360LinksRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listSearchAds360Links(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all SearchAds360Links on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String parent = PropertyName.of("[PROPERTY]").toString();
+   *   for (SearchAds360Link element :
+   *       analyticsAdminServiceClient.listSearchAds360Links(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. Example format: properties/1234 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSearchAds360LinksPagedResponse listSearchAds360Links(String parent) { + ListSearchAds360LinksRequest request = + ListSearchAds360LinksRequest.newBuilder().setParent(parent).build(); + return listSearchAds360Links(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all SearchAds360Links on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   ListSearchAds360LinksRequest request =
+   *       ListSearchAds360LinksRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (SearchAds360Link element :
+   *       analyticsAdminServiceClient.listSearchAds360Links(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @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 ListSearchAds360LinksPagedResponse listSearchAds360Links( + ListSearchAds360LinksRequest request) { + return listSearchAds360LinksPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all SearchAds360Links on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   ListSearchAds360LinksRequest request =
+   *       ListSearchAds360LinksRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.listSearchAds360LinksPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (SearchAds360Link element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listSearchAds360LinksPagedCallable() { + return stub.listSearchAds360LinksPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all SearchAds360Links on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   ListSearchAds360LinksRequest request =
+   *       ListSearchAds360LinksRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListSearchAds360LinksResponse response =
+   *         analyticsAdminServiceClient.listSearchAds360LinksCallable().call(request);
+   *     for (SearchAds360Link element : response.getSearchAds360LinksList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listSearchAds360LinksCallable() { + return stub.listSearchAds360LinksCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a SearchAds360Link. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   PropertyName parent = PropertyName.of("[PROPERTY]");
+   *   SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build();
+   *   SearchAds360Link response =
+   *       analyticsAdminServiceClient.createSearchAds360Link(parent, searchAds360Link);
+   * }
+   * }
+ * + * @param parent Required. Example format: properties/1234 + * @param searchAds360Link Required. The SearchAds360Link to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SearchAds360Link createSearchAds360Link( + PropertyName parent, SearchAds360Link searchAds360Link) { + CreateSearchAds360LinkRequest request = + CreateSearchAds360LinkRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setSearchAds360Link(searchAds360Link) + .build(); + return createSearchAds360Link(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a SearchAds360Link. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String parent = PropertyName.of("[PROPERTY]").toString();
+   *   SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build();
+   *   SearchAds360Link response =
+   *       analyticsAdminServiceClient.createSearchAds360Link(parent, searchAds360Link);
+   * }
+   * }
+ * + * @param parent Required. Example format: properties/1234 + * @param searchAds360Link Required. The SearchAds360Link to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SearchAds360Link createSearchAds360Link( + String parent, SearchAds360Link searchAds360Link) { + CreateSearchAds360LinkRequest request = + CreateSearchAds360LinkRequest.newBuilder() + .setParent(parent) + .setSearchAds360Link(searchAds360Link) + .build(); + return createSearchAds360Link(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a SearchAds360Link. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   CreateSearchAds360LinkRequest request =
+   *       CreateSearchAds360LinkRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setSearchAds360Link(SearchAds360Link.newBuilder().build())
+   *           .build();
+   *   SearchAds360Link response = analyticsAdminServiceClient.createSearchAds360Link(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SearchAds360Link createSearchAds360Link(CreateSearchAds360LinkRequest request) { + return createSearchAds360LinkCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a SearchAds360Link. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   CreateSearchAds360LinkRequest request =
+   *       CreateSearchAds360LinkRequest.newBuilder()
+   *           .setParent(PropertyName.of("[PROPERTY]").toString())
+   *           .setSearchAds360Link(SearchAds360Link.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.createSearchAds360LinkCallable().futureCall(request);
+   *   // Do something.
+   *   SearchAds360Link response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + createSearchAds360LinkCallable() { + return stub.createSearchAds360LinkCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a SearchAds360Link on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]");
+   *   analyticsAdminServiceClient.deleteSearchAds360Link(name);
+   * }
+   * }
+ * + * @param name Required. The name of the SearchAds360Link to delete. Example format: + * properties/1234/SearchAds360Links/5678 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSearchAds360Link(SearchAds360LinkName name) { + DeleteSearchAds360LinkRequest request = + DeleteSearchAds360LinkRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + deleteSearchAds360Link(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a SearchAds360Link on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString();
+   *   analyticsAdminServiceClient.deleteSearchAds360Link(name);
+   * }
+   * }
+ * + * @param name Required. The name of the SearchAds360Link to delete. Example format: + * properties/1234/SearchAds360Links/5678 + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSearchAds360Link(String name) { + DeleteSearchAds360LinkRequest request = + DeleteSearchAds360LinkRequest.newBuilder().setName(name).build(); + deleteSearchAds360Link(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a SearchAds360Link on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   DeleteSearchAds360LinkRequest request =
+   *       DeleteSearchAds360LinkRequest.newBuilder()
+   *           .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString())
+   *           .build();
+   *   analyticsAdminServiceClient.deleteSearchAds360Link(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSearchAds360Link(DeleteSearchAds360LinkRequest request) { + deleteSearchAds360LinkCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a SearchAds360Link on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   DeleteSearchAds360LinkRequest request =
+   *       DeleteSearchAds360LinkRequest.newBuilder()
+   *           .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.deleteSearchAds360LinkCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + deleteSearchAds360LinkCallable() { + return stub.deleteSearchAds360LinkCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a SearchAds360Link on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   SearchAds360Link response =
+   *       analyticsAdminServiceClient.updateSearchAds360Link(searchAds360Link, updateMask);
+   * }
+   * }
+ * + * @param searchAds360Link The SearchAds360Link to update + * @param updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to match all + * fields. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SearchAds360Link updateSearchAds360Link( + SearchAds360Link searchAds360Link, FieldMask updateMask) { + UpdateSearchAds360LinkRequest request = + UpdateSearchAds360LinkRequest.newBuilder() + .setSearchAds360Link(searchAds360Link) + .setUpdateMask(updateMask) + .build(); + return updateSearchAds360Link(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a SearchAds360Link on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   UpdateSearchAds360LinkRequest request =
+   *       UpdateSearchAds360LinkRequest.newBuilder()
+   *           .setSearchAds360Link(SearchAds360Link.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   SearchAds360Link response = analyticsAdminServiceClient.updateSearchAds360Link(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SearchAds360Link updateSearchAds360Link(UpdateSearchAds360LinkRequest request) { + return updateSearchAds360LinkCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a SearchAds360Link on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   UpdateSearchAds360LinkRequest request =
+   *       UpdateSearchAds360LinkRequest.newBuilder()
+   *           .setSearchAds360Link(SearchAds360Link.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.updateSearchAds360LinkCallable().futureCall(request);
+   *   // Do something.
+   *   SearchAds360Link response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + updateSearchAds360LinkCallable() { + return stub.updateSearchAds360LinkCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lookup for a AttributionSettings singleton. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   AttributionSettingsName name = AttributionSettingsName.of("[PROPERTY]");
+   *   AttributionSettings response = analyticsAdminServiceClient.getAttributionSettings(name);
+   * }
+   * }
+ * + * @param name Required. The name of the attribution settings to retrieve. Format: + * properties/{property}/attributionSettings + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AttributionSettings getAttributionSettings(AttributionSettingsName name) { + GetAttributionSettingsRequest request = + GetAttributionSettingsRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getAttributionSettings(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lookup for a AttributionSettings singleton. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   String name = AttributionSettingsName.of("[PROPERTY]").toString();
+   *   AttributionSettings response = analyticsAdminServiceClient.getAttributionSettings(name);
+   * }
+   * }
+ * + * @param name Required. The name of the attribution settings to retrieve. Format: + * properties/{property}/attributionSettings + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AttributionSettings getAttributionSettings(String name) { + GetAttributionSettingsRequest request = + GetAttributionSettingsRequest.newBuilder().setName(name).build(); + return getAttributionSettings(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lookup for a AttributionSettings singleton. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   GetAttributionSettingsRequest request =
+   *       GetAttributionSettingsRequest.newBuilder()
+   *           .setName(AttributionSettingsName.of("[PROPERTY]").toString())
+   *           .build();
+   *   AttributionSettings response = analyticsAdminServiceClient.getAttributionSettings(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AttributionSettings getAttributionSettings(GetAttributionSettingsRequest request) { + return getAttributionSettingsCallable().call(request); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lookup for a AttributionSettings singleton. @@ -9445,26 +10184,388 @@ public final UnaryCallable archiveAudienceCallabl * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * AttributionSettingsName name = AttributionSettingsName.of("[PROPERTY]"); - * AttributionSettings response = analyticsAdminServiceClient.getAttributionSettings(name); + * GetAttributionSettingsRequest request = + * GetAttributionSettingsRequest.newBuilder() + * .setName(AttributionSettingsName.of("[PROPERTY]").toString()) + * .build(); + * ApiFuture future = + * analyticsAdminServiceClient.getAttributionSettingsCallable().futureCall(request); + * // Do something. + * AttributionSettings response = future.get(); + * } + * } + */ + public final UnaryCallable + getAttributionSettingsCallable() { + return stub.getAttributionSettingsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates attribution settings on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   AttributionSettings attributionSettings = AttributionSettings.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   AttributionSettings response =
+   *       analyticsAdminServiceClient.updateAttributionSettings(attributionSettings, updateMask);
+   * }
+   * }
+ * + * @param attributionSettings Required. The attribution settings to update. The `name` field is + * used to identify the settings to be updated. + * @param updateMask Required. The list of fields to be updated. Field names must be in snake case + * (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire + * entity, use one path with the string "*" to match all fields. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AttributionSettings updateAttributionSettings( + AttributionSettings attributionSettings, FieldMask updateMask) { + UpdateAttributionSettingsRequest request = + UpdateAttributionSettingsRequest.newBuilder() + .setAttributionSettings(attributionSettings) + .setUpdateMask(updateMask) + .build(); + return updateAttributionSettings(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates attribution settings on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   UpdateAttributionSettingsRequest request =
+   *       UpdateAttributionSettingsRequest.newBuilder()
+   *           .setAttributionSettings(AttributionSettings.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   AttributionSettings response = analyticsAdminServiceClient.updateAttributionSettings(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AttributionSettings updateAttributionSettings( + UpdateAttributionSettingsRequest request) { + return updateAttributionSettingsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates attribution settings on a property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   UpdateAttributionSettingsRequest request =
+   *       UpdateAttributionSettingsRequest.newBuilder()
+   *           .setAttributionSettings(AttributionSettings.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient.updateAttributionSettingsCallable().futureCall(request);
+   *   // Do something.
+   *   AttributionSettings response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + updateAttributionSettingsCallable() { + 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 and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   RunAccessReportRequest request =
+   *       RunAccessReportRequest.newBuilder()
+   *           .setEntity("entity-1298275357")
+   *           .addAllDimensions(new ArrayList())
+   *           .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);
+   * }
+   * }
+ * + * @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. + * + *

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 and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   RunAccessReportRequest request =
+   *       RunAccessReportRequest.newBuilder()
+   *           .setEntity("entity-1298275357")
+   *           .addAllDimensions(new ArrayList())
+   *           .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();
+   * }
+   * }
+ */ + public final UnaryCallable + runAccessReportCallable() { + return stub.runAccessReportCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has + * no effect on GA4 property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   SetAutomatedGa4ConfigurationOptOutRequest request =
+   *       SetAutomatedGa4ConfigurationOptOutRequest.newBuilder()
+   *           .setProperty("property-993141291")
+   *           .setOptOut(true)
+   *           .build();
+   *   SetAutomatedGa4ConfigurationOptOutResponse response =
+   *       analyticsAdminServiceClient.setAutomatedGa4ConfigurationOptOut(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SetAutomatedGa4ConfigurationOptOutResponse setAutomatedGa4ConfigurationOptOut( + SetAutomatedGa4ConfigurationOptOutRequest request) { + return setAutomatedGa4ConfigurationOptOutCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has + * no effect on GA4 property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   SetAutomatedGa4ConfigurationOptOutRequest request =
+   *       SetAutomatedGa4ConfigurationOptOutRequest.newBuilder()
+   *           .setProperty("property-993141291")
+   *           .setOptOut(true)
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient
+   *           .setAutomatedGa4ConfigurationOptOutCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   SetAutomatedGa4ConfigurationOptOutResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutCallable() { + return stub.setAutomatedGa4ConfigurationOptOutCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this + * has no effect on GA4 property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   FetchAutomatedGa4ConfigurationOptOutRequest request =
+   *       FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder()
+   *           .setProperty("property-993141291")
+   *           .build();
+   *   FetchAutomatedGa4ConfigurationOptOutResponse response =
+   *       analyticsAdminServiceClient.fetchAutomatedGa4ConfigurationOptOut(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FetchAutomatedGa4ConfigurationOptOutResponse fetchAutomatedGa4ConfigurationOptOut( + FetchAutomatedGa4ConfigurationOptOutRequest request) { + return fetchAutomatedGa4ConfigurationOptOutCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this + * has no effect on GA4 property. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   FetchAutomatedGa4ConfigurationOptOutRequest request =
+   *       FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder()
+   *           .setProperty("property-993141291")
+   *           .build();
+   *   ApiFuture future =
+   *       analyticsAdminServiceClient
+   *           .fetchAutomatedGa4ConfigurationOptOutCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   FetchAutomatedGa4ConfigurationOptOutResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutCallable() { + return stub.fetchAutomatedGa4ConfigurationOptOutCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lookup for a single BigQuery Link. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+   *     AnalyticsAdminServiceClient.create()) {
+   *   BigQueryLinkName name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]");
+   *   BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(name);
    * }
    * }
* - * @param name Required. The name of the attribution settings to retrieve. Format: - * properties/{property}/attributionSettings + * @param name Required. The name of the BigQuery link to lookup. Format: + * properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: + * properties/123/bigQueryLinks/456 * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final AttributionSettings getAttributionSettings(AttributionSettingsName name) { - GetAttributionSettingsRequest request = - GetAttributionSettingsRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .build(); - return getAttributionSettings(request); + public final BigQueryLink getBigQueryLink(BigQueryLinkName name) { + GetBigQueryLinkRequest request = + GetBigQueryLinkRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getBigQueryLink(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lookup for a AttributionSettings singleton. + * Lookup for a single BigQuery Link. * *

Sample code: * @@ -9476,24 +10577,24 @@ public final AttributionSettings getAttributionSettings(AttributionSettingsName * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * String name = AttributionSettingsName.of("[PROPERTY]").toString(); - * AttributionSettings response = analyticsAdminServiceClient.getAttributionSettings(name); + * String name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString(); + * BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(name); * } * } * - * @param name Required. The name of the attribution settings to retrieve. Format: - * properties/{property}/attributionSettings + * @param name Required. The name of the BigQuery link to lookup. Format: + * properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: + * properties/123/bigQueryLinks/456 * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final AttributionSettings getAttributionSettings(String name) { - GetAttributionSettingsRequest request = - GetAttributionSettingsRequest.newBuilder().setName(name).build(); - return getAttributionSettings(request); + public final BigQueryLink getBigQueryLink(String name) { + GetBigQueryLinkRequest request = GetBigQueryLinkRequest.newBuilder().setName(name).build(); + return getBigQueryLink(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lookup for a AttributionSettings singleton. + * Lookup for a single BigQuery Link. * *

Sample code: * @@ -9505,24 +10606,24 @@ public final AttributionSettings getAttributionSettings(String name) { * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * GetAttributionSettingsRequest request = - * GetAttributionSettingsRequest.newBuilder() - * .setName(AttributionSettingsName.of("[PROPERTY]").toString()) + * GetBigQueryLinkRequest request = + * GetBigQueryLinkRequest.newBuilder() + * .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString()) * .build(); - * AttributionSettings response = analyticsAdminServiceClient.getAttributionSettings(request); + * BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(request); * } * } * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final AttributionSettings getAttributionSettings(GetAttributionSettingsRequest request) { - return getAttributionSettingsCallable().call(request); + public final BigQueryLink getBigQueryLink(GetBigQueryLinkRequest request) { + return getBigQueryLinkCallable().call(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lookup for a AttributionSettings singleton. + * Lookup for a single BigQuery Link. * *

Sample code: * @@ -9534,25 +10635,24 @@ public final AttributionSettings getAttributionSettings(GetAttributionSettingsRe * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * GetAttributionSettingsRequest request = - * GetAttributionSettingsRequest.newBuilder() - * .setName(AttributionSettingsName.of("[PROPERTY]").toString()) + * GetBigQueryLinkRequest request = + * GetBigQueryLinkRequest.newBuilder() + * .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString()) * .build(); - * ApiFuture future = - * analyticsAdminServiceClient.getAttributionSettingsCallable().futureCall(request); + * ApiFuture future = + * analyticsAdminServiceClient.getBigQueryLinkCallable().futureCall(request); * // Do something. - * AttributionSettings response = future.get(); + * BigQueryLink response = future.get(); * } * } */ - public final UnaryCallable - getAttributionSettingsCallable() { - return stub.getAttributionSettingsCallable(); + public final UnaryCallable getBigQueryLinkCallable() { + return stub.getBigQueryLinkCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates attribution settings on a property. + * Lists BigQuery Links on a property. * *

Sample code: * @@ -9564,33 +10664,29 @@ public final AttributionSettings getAttributionSettings(GetAttributionSettingsRe * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * AttributionSettings attributionSettings = AttributionSettings.newBuilder().build(); - * FieldMask updateMask = FieldMask.newBuilder().build(); - * AttributionSettings response = - * analyticsAdminServiceClient.updateAttributionSettings(attributionSettings, updateMask); + * PropertyName parent = PropertyName.of("[PROPERTY]"); + * for (BigQueryLink element : + * analyticsAdminServiceClient.listBigQueryLinks(parent).iterateAll()) { + * // doThingsWith(element); + * } * } * } * - * @param attributionSettings Required. The attribution settings to update. The `name` field is - * used to identify the settings to be updated. - * @param updateMask Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire - * entity, use one path with the string "*" to match all fields. + * @param parent Required. The name of the property to list BigQuery links under. Format: + * properties/{property_id} Example: properties/1234 * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final AttributionSettings updateAttributionSettings( - AttributionSettings attributionSettings, FieldMask updateMask) { - UpdateAttributionSettingsRequest request = - UpdateAttributionSettingsRequest.newBuilder() - .setAttributionSettings(attributionSettings) - .setUpdateMask(updateMask) + public final ListBigQueryLinksPagedResponse listBigQueryLinks(PropertyName parent) { + ListBigQueryLinksRequest request = + ListBigQueryLinksRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) .build(); - return updateAttributionSettings(request); + return listBigQueryLinks(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates attribution settings on a property. + * Lists BigQuery Links on a property. * *

Sample code: * @@ -9602,26 +10698,27 @@ public final AttributionSettings updateAttributionSettings( * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * UpdateAttributionSettingsRequest request = - * UpdateAttributionSettingsRequest.newBuilder() - * .setAttributionSettings(AttributionSettings.newBuilder().build()) - * .setUpdateMask(FieldMask.newBuilder().build()) - * .build(); - * AttributionSettings response = analyticsAdminServiceClient.updateAttributionSettings(request); + * String parent = PropertyName.of("[PROPERTY]").toString(); + * for (BigQueryLink element : + * analyticsAdminServiceClient.listBigQueryLinks(parent).iterateAll()) { + * // doThingsWith(element); + * } * } * } * - * @param request The request object containing all of the parameters for the API call. + * @param parent Required. The name of the property to list BigQuery links under. Format: + * properties/{property_id} Example: properties/1234 * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final AttributionSettings updateAttributionSettings( - UpdateAttributionSettingsRequest request) { - return updateAttributionSettingsCallable().call(request); + public final ListBigQueryLinksPagedResponse listBigQueryLinks(String parent) { + ListBigQueryLinksRequest request = + ListBigQueryLinksRequest.newBuilder().setParent(parent).build(); + return listBigQueryLinks(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates attribution settings on a property. + * Lists BigQuery Links on a property. * *

Sample code: * @@ -9633,36 +10730,29 @@ public final AttributionSettings updateAttributionSettings( * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * UpdateAttributionSettingsRequest request = - * UpdateAttributionSettingsRequest.newBuilder() - * .setAttributionSettings(AttributionSettings.newBuilder().build()) - * .setUpdateMask(FieldMask.newBuilder().build()) + * ListBigQueryLinksRequest request = + * ListBigQueryLinksRequest.newBuilder() + * .setParent(PropertyName.of("[PROPERTY]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") * .build(); - * ApiFuture future = - * analyticsAdminServiceClient.updateAttributionSettingsCallable().futureCall(request); - * // Do something. - * AttributionSettings response = future.get(); + * for (BigQueryLink element : + * analyticsAdminServiceClient.listBigQueryLinks(request).iterateAll()) { + * // doThingsWith(element); + * } * } * } + * + * @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 UnaryCallable - updateAttributionSettingsCallable() { - return stub.updateAttributionSettingsCallable(); + public final ListBigQueryLinksPagedResponse listBigQueryLinks(ListBigQueryLinksRequest request) { + return listBigQueryLinksPagedCallable().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. - * - *

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). + * Lists BigQuery Links on a property. * *

Sample code: * @@ -9674,44 +10764,29 @@ public final AttributionSettings updateAttributionSettings( * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * RunAccessReportRequest request = - * RunAccessReportRequest.newBuilder() - * .setEntity("entity-1298275357") - * .addAllDimensions(new ArrayList()) - * .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) + * ListBigQueryLinksRequest request = + * ListBigQueryLinksRequest.newBuilder() + * .setParent(PropertyName.of("[PROPERTY]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") * .build(); - * RunAccessReportResponse response = analyticsAdminServiceClient.runAccessReport(request); + * ApiFuture future = + * analyticsAdminServiceClient.listBigQueryLinksPagedCallable().futureCall(request); + * // Do something. + * for (BigQueryLink element : future.get().iterateAll()) { + * // doThingsWith(element); + * } * } * } - * - * @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); + public final UnaryCallable + listBigQueryLinksPagedCallable() { + return stub.listBigQueryLinksPagedCallable(); } // 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). + * Lists BigQuery Links on a property. * *

Sample code: * @@ -9723,30 +10798,31 @@ public final RunAccessReportResponse runAccessReport(RunAccessReportRequest requ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create()) { - * RunAccessReportRequest request = - * RunAccessReportRequest.newBuilder() - * .setEntity("entity-1298275357") - * .addAllDimensions(new ArrayList()) - * .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) + * ListBigQueryLinksRequest request = + * ListBigQueryLinksRequest.newBuilder() + * .setParent(PropertyName.of("[PROPERTY]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") * .build(); - * ApiFuture future = - * analyticsAdminServiceClient.runAccessReportCallable().futureCall(request); - * // Do something. - * RunAccessReportResponse response = future.get(); + * while (true) { + * ListBigQueryLinksResponse response = + * analyticsAdminServiceClient.listBigQueryLinksCallable().call(request); + * for (BigQueryLink element : response.getBigqueryLinksList()) { + * // doThingsWith(element); + * } + * String nextPageToken = response.getNextPageToken(); + * if (!Strings.isNullOrEmpty(nextPageToken)) { + * request = request.toBuilder().setPageToken(nextPageToken).build(); + * } else { + * break; + * } + * } * } * } */ - public final UnaryCallable - runAccessReportCallable() { - return stub.runAccessReportCallable(); + public final UnaryCallable + listBigQueryLinksCallable() { + return stub.listBigQueryLinksCallable(); } @Override @@ -11119,4 +12195,168 @@ protected ListAudiencesFixedSizeCollection createCollection( return new ListAudiencesFixedSizeCollection(pages, collectionSize); } } + + public static class ListSearchAds360LinksPagedResponse + extends AbstractPagedListResponse< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + SearchAds360Link, + ListSearchAds360LinksPage, + ListSearchAds360LinksFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListSearchAds360LinksPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListSearchAds360LinksPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListSearchAds360LinksPagedResponse(ListSearchAds360LinksPage page) { + super(page, ListSearchAds360LinksFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListSearchAds360LinksPage + extends AbstractPage< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + SearchAds360Link, + ListSearchAds360LinksPage> { + + private ListSearchAds360LinksPage( + PageContext + context, + ListSearchAds360LinksResponse response) { + super(context, response); + } + + private static ListSearchAds360LinksPage createEmptyPage() { + return new ListSearchAds360LinksPage(null, null); + } + + @Override + protected ListSearchAds360LinksPage createPage( + PageContext + context, + ListSearchAds360LinksResponse response) { + return new ListSearchAds360LinksPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListSearchAds360LinksFixedSizeCollection + extends AbstractFixedSizeCollection< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + SearchAds360Link, + ListSearchAds360LinksPage, + ListSearchAds360LinksFixedSizeCollection> { + + private ListSearchAds360LinksFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListSearchAds360LinksFixedSizeCollection createEmptyCollection() { + return new ListSearchAds360LinksFixedSizeCollection(null, 0); + } + + @Override + protected ListSearchAds360LinksFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListSearchAds360LinksFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListBigQueryLinksPagedResponse + extends AbstractPagedListResponse< + ListBigQueryLinksRequest, + ListBigQueryLinksResponse, + BigQueryLink, + ListBigQueryLinksPage, + ListBigQueryLinksFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListBigQueryLinksPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListBigQueryLinksPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListBigQueryLinksPagedResponse(ListBigQueryLinksPage page) { + super(page, ListBigQueryLinksFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListBigQueryLinksPage + extends AbstractPage< + ListBigQueryLinksRequest, + ListBigQueryLinksResponse, + BigQueryLink, + ListBigQueryLinksPage> { + + private ListBigQueryLinksPage( + PageContext context, + ListBigQueryLinksResponse response) { + super(context, response); + } + + private static ListBigQueryLinksPage createEmptyPage() { + return new ListBigQueryLinksPage(null, null); + } + + @Override + protected ListBigQueryLinksPage createPage( + PageContext context, + ListBigQueryLinksResponse response) { + return new ListBigQueryLinksPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListBigQueryLinksFixedSizeCollection + extends AbstractFixedSizeCollection< + ListBigQueryLinksRequest, + ListBigQueryLinksResponse, + BigQueryLink, + ListBigQueryLinksPage, + ListBigQueryLinksFixedSizeCollection> { + + private ListBigQueryLinksFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListBigQueryLinksFixedSizeCollection createEmptyCollection() { + return new ListBigQueryLinksFixedSizeCollection(null, 0); + } + + @Override + protected ListBigQueryLinksFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListBigQueryLinksFixedSizeCollection(pages, collectionSize); + } + } } diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java index c7aa04fb4371..d9195900e7e3 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java @@ -20,6 +20,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; @@ -30,6 +31,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; @@ -595,6 +597,38 @@ public UnaryCallSettings archiveAudienceSettings( return ((AnalyticsAdminServiceStubSettings) getStubSettings()).archiveAudienceSettings(); } + /** Returns the object with the settings used for calls to getSearchAds360Link. */ + public UnaryCallSettings + getSearchAds360LinkSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getSearchAds360LinkSettings(); + } + + /** Returns the object with the settings used for calls to listSearchAds360Links. */ + public PagedCallSettings< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + ListSearchAds360LinksPagedResponse> + listSearchAds360LinksSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listSearchAds360LinksSettings(); + } + + /** Returns the object with the settings used for calls to createSearchAds360Link. */ + public UnaryCallSettings + createSearchAds360LinkSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createSearchAds360LinkSettings(); + } + + /** Returns the object with the settings used for calls to deleteSearchAds360Link. */ + public UnaryCallSettings deleteSearchAds360LinkSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteSearchAds360LinkSettings(); + } + + /** Returns the object with the settings used for calls to updateSearchAds360Link. */ + public UnaryCallSettings + updateSearchAds360LinkSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateSearchAds360LinkSettings(); + } + /** Returns the object with the settings used for calls to getAttributionSettings. */ public UnaryCallSettings getAttributionSettingsSettings() { @@ -614,6 +648,36 @@ public UnaryCallSettings archiveAudienceSettings( return ((AnalyticsAdminServiceStubSettings) getStubSettings()).runAccessReportSettings(); } + /** Returns the object with the settings used for calls to setAutomatedGa4ConfigurationOptOut. */ + public UnaryCallSettings< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()) + .setAutomatedGa4ConfigurationOptOutSettings(); + } + + /** + * Returns the object with the settings used for calls to fetchAutomatedGa4ConfigurationOptOut. + */ + public UnaryCallSettings< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()) + .fetchAutomatedGa4ConfigurationOptOutSettings(); + } + + /** Returns the object with the settings used for calls to getBigQueryLink. */ + public UnaryCallSettings getBigQueryLinkSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getBigQueryLinkSettings(); + } + + /** Returns the object with the settings used for calls to listBigQueryLinks. */ + public PagedCallSettings< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse> + listBigQueryLinksSettings() { + return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listBigQueryLinksSettings(); + } + public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub) throws IOException { return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build(); @@ -1238,6 +1302,39 @@ public UnaryCallSettings.Builder archiveAudienceS return getStubSettingsBuilder().archiveAudienceSettings(); } + /** Returns the builder for the settings used for calls to getSearchAds360Link. */ + public UnaryCallSettings.Builder + getSearchAds360LinkSettings() { + return getStubSettingsBuilder().getSearchAds360LinkSettings(); + } + + /** Returns the builder for the settings used for calls to listSearchAds360Links. */ + public PagedCallSettings.Builder< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + ListSearchAds360LinksPagedResponse> + listSearchAds360LinksSettings() { + return getStubSettingsBuilder().listSearchAds360LinksSettings(); + } + + /** Returns the builder for the settings used for calls to createSearchAds360Link. */ + public UnaryCallSettings.Builder + createSearchAds360LinkSettings() { + return getStubSettingsBuilder().createSearchAds360LinkSettings(); + } + + /** Returns the builder for the settings used for calls to deleteSearchAds360Link. */ + public UnaryCallSettings.Builder + deleteSearchAds360LinkSettings() { + return getStubSettingsBuilder().deleteSearchAds360LinkSettings(); + } + + /** Returns the builder for the settings used for calls to updateSearchAds360Link. */ + public UnaryCallSettings.Builder + updateSearchAds360LinkSettings() { + return getStubSettingsBuilder().updateSearchAds360LinkSettings(); + } + /** Returns the builder for the settings used for calls to getAttributionSettings. */ public UnaryCallSettings.Builder getAttributionSettingsSettings() { @@ -1256,6 +1353,38 @@ public UnaryCallSettings.Builder archiveAudienceS return getStubSettingsBuilder().runAccessReportSettings(); } + /** + * Returns the builder for the settings used for calls to setAutomatedGa4ConfigurationOptOut. + */ + public UnaryCallSettings.Builder< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutSettings() { + return getStubSettingsBuilder().setAutomatedGa4ConfigurationOptOutSettings(); + } + + /** + * Returns the builder for the settings used for calls to fetchAutomatedGa4ConfigurationOptOut. + */ + public UnaryCallSettings.Builder< + FetchAutomatedGa4ConfigurationOptOutRequest, + FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutSettings() { + return getStubSettingsBuilder().fetchAutomatedGa4ConfigurationOptOutSettings(); + } + + /** Returns the builder for the settings used for calls to getBigQueryLink. */ + public UnaryCallSettings.Builder + getBigQueryLinkSettings() { + return getStubSettingsBuilder().getBigQueryLinkSettings(); + } + + /** Returns the builder for the settings used for calls to listBigQueryLinks. */ + public PagedCallSettings.Builder< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse> + listBigQueryLinksSettings() { + return getStubSettingsBuilder().listBigQueryLinksSettings(); + } + @Override public AnalyticsAdminServiceSettings build() throws IOException { return new AnalyticsAdminServiceSettings(this); diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json index 54b51a3e8f31..799c904f270e 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json @@ -76,6 +76,9 @@ "CreateProperty": { "methods": ["createProperty", "createProperty", "createPropertyCallable"] }, + "CreateSearchAds360Link": { + "methods": ["createSearchAds360Link", "createSearchAds360Link", "createSearchAds360Link", "createSearchAds360LinkCallable"] + }, "CreateUserLink": { "methods": ["createUserLink", "createUserLink", "createUserLink", "createUserLink", "createUserLinkCallable"] }, @@ -106,9 +109,15 @@ "DeleteProperty": { "methods": ["deleteProperty", "deleteProperty", "deleteProperty", "deletePropertyCallable"] }, + "DeleteSearchAds360Link": { + "methods": ["deleteSearchAds360Link", "deleteSearchAds360Link", "deleteSearchAds360Link", "deleteSearchAds360LinkCallable"] + }, "DeleteUserLink": { "methods": ["deleteUserLink", "deleteUserLink", "deleteUserLink", "deleteUserLinkCallable"] }, + "FetchAutomatedGa4ConfigurationOptOut": { + "methods": ["fetchAutomatedGa4ConfigurationOptOut", "fetchAutomatedGa4ConfigurationOptOutCallable"] + }, "GetAccount": { "methods": ["getAccount", "getAccount", "getAccount", "getAccountCallable"] }, @@ -118,6 +127,9 @@ "GetAudience": { "methods": ["getAudience", "getAudience", "getAudience", "getAudienceCallable"] }, + "GetBigQueryLink": { + "methods": ["getBigQueryLink", "getBigQueryLink", "getBigQueryLink", "getBigQueryLinkCallable"] + }, "GetConversionEvent": { "methods": ["getConversionEvent", "getConversionEvent", "getConversionEvent", "getConversionEventCallable"] }, @@ -154,6 +166,9 @@ "GetProperty": { "methods": ["getProperty", "getProperty", "getProperty", "getPropertyCallable"] }, + "GetSearchAds360Link": { + "methods": ["getSearchAds360Link", "getSearchAds360Link", "getSearchAds360Link", "getSearchAds360LinkCallable"] + }, "GetUserLink": { "methods": ["getUserLink", "getUserLink", "getUserLink", "getUserLinkCallable"] }, @@ -166,6 +181,9 @@ "ListAudiences": { "methods": ["listAudiences", "listAudiences", "listAudiences", "listAudiencesPagedCallable", "listAudiencesCallable"] }, + "ListBigQueryLinks": { + "methods": ["listBigQueryLinks", "listBigQueryLinks", "listBigQueryLinks", "listBigQueryLinksPagedCallable", "listBigQueryLinksCallable"] + }, "ListConversionEvents": { "methods": ["listConversionEvents", "listConversionEvents", "listConversionEvents", "listConversionEventsPagedCallable", "listConversionEventsCallable"] }, @@ -196,6 +214,9 @@ "ListProperties": { "methods": ["listProperties", "listPropertiesPagedCallable", "listPropertiesCallable"] }, + "ListSearchAds360Links": { + "methods": ["listSearchAds360Links", "listSearchAds360Links", "listSearchAds360Links", "listSearchAds360LinksPagedCallable", "listSearchAds360LinksCallable"] + }, "ListUserLinks": { "methods": ["listUserLinks", "listUserLinks", "listUserLinks", "listUserLinks", "listUserLinksPagedCallable", "listUserLinksCallable"] }, @@ -208,6 +229,9 @@ "SearchChangeHistoryEvents": { "methods": ["searchChangeHistoryEvents", "searchChangeHistoryEventsPagedCallable", "searchChangeHistoryEventsCallable"] }, + "SetAutomatedGa4ConfigurationOptOut": { + "methods": ["setAutomatedGa4ConfigurationOptOut", "setAutomatedGa4ConfigurationOptOutCallable"] + }, "UpdateAccount": { "methods": ["updateAccount", "updateAccount", "updateAccountCallable"] }, @@ -244,6 +268,9 @@ "UpdateProperty": { "methods": ["updateProperty", "updateProperty", "updatePropertyCallable"] }, + "UpdateSearchAds360Link": { + "methods": ["updateSearchAds360Link", "updateSearchAds360Link", "updateSearchAds360LinkCallable"] + }, "UpdateUserLink": { "methods": ["updateUserLink", "updateUserLink", "updateUserLinkCallable"] } diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java index cfc427e4a702..2cec2b797d68 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java @@ -20,6 +20,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; @@ -30,6 +31,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; @@ -52,6 +54,7 @@ import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse; import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest; import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse; +import com.google.analytics.admin.v1alpha.BigQueryLink; import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.ConversionEvent; import com.google.analytics.admin.v1alpha.CreateAudienceRequest; @@ -65,6 +68,7 @@ import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.CreatePropertyRequest; +import com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.CreateUserLinkRequest; import com.google.analytics.admin.v1alpha.CustomDimension; import com.google.analytics.admin.v1alpha.CustomMetric; @@ -80,13 +84,17 @@ import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.DeletePropertyRequest; +import com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse; import com.google.analytics.admin.v1alpha.FirebaseLink; import com.google.analytics.admin.v1alpha.GetAccountRequest; import com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest; import com.google.analytics.admin.v1alpha.GetAudienceRequest; +import com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest; import com.google.analytics.admin.v1alpha.GetConversionEventRequest; import com.google.analytics.admin.v1alpha.GetCustomDimensionRequest; import com.google.analytics.admin.v1alpha.GetCustomMetricRequest; @@ -99,6 +107,7 @@ import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.GetPropertyRequest; +import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.GetUserLinkRequest; import com.google.analytics.admin.v1alpha.GlobalSiteTag; import com.google.analytics.admin.v1alpha.GoogleAdsLink; @@ -109,6 +118,8 @@ import com.google.analytics.admin.v1alpha.ListAccountsResponse; import com.google.analytics.admin.v1alpha.ListAudiencesRequest; import com.google.analytics.admin.v1alpha.ListAudiencesResponse; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse; import com.google.analytics.admin.v1alpha.ListConversionEventsRequest; import com.google.analytics.admin.v1alpha.ListConversionEventsResponse; import com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest; @@ -129,6 +140,8 @@ import com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse; import com.google.analytics.admin.v1alpha.ListPropertiesRequest; import com.google.analytics.admin.v1alpha.ListPropertiesResponse; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse; import com.google.analytics.admin.v1alpha.ListUserLinksRequest; import com.google.analytics.admin.v1alpha.ListUserLinksResponse; import com.google.analytics.admin.v1alpha.MeasurementProtocolSecret; @@ -137,8 +150,11 @@ import com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse; import com.google.analytics.admin.v1alpha.RunAccessReportRequest; import com.google.analytics.admin.v1alpha.RunAccessReportResponse; +import com.google.analytics.admin.v1alpha.SearchAds360Link; import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest; import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse; import com.google.analytics.admin.v1alpha.UpdateAccountRequest; import com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateAudienceRequest; @@ -151,6 +167,7 @@ import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.UpdatePropertyRequest; +import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.UpdateUserLinkRequest; import com.google.analytics.admin.v1alpha.UserLink; import com.google.api.core.BetaApi; @@ -625,6 +642,35 @@ public UnaryCallable archiveAudienceCallable() { throw new UnsupportedOperationException("Not implemented: archiveAudienceCallable()"); } + public UnaryCallable getSearchAds360LinkCallable() { + throw new UnsupportedOperationException("Not implemented: getSearchAds360LinkCallable()"); + } + + public UnaryCallable + listSearchAds360LinksPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listSearchAds360LinksPagedCallable()"); + } + + public UnaryCallable + listSearchAds360LinksCallable() { + throw new UnsupportedOperationException("Not implemented: listSearchAds360LinksCallable()"); + } + + public UnaryCallable + createSearchAds360LinkCallable() { + throw new UnsupportedOperationException("Not implemented: createSearchAds360LinkCallable()"); + } + + public UnaryCallable deleteSearchAds360LinkCallable() { + throw new UnsupportedOperationException("Not implemented: deleteSearchAds360LinkCallable()"); + } + + public UnaryCallable + updateSearchAds360LinkCallable() { + throw new UnsupportedOperationException("Not implemented: updateSearchAds360LinkCallable()"); + } + public UnaryCallable getAttributionSettingsCallable() { throw new UnsupportedOperationException("Not implemented: getAttributionSettingsCallable()"); @@ -639,6 +685,34 @@ public UnaryCallable runAccessR throw new UnsupportedOperationException("Not implemented: runAccessReportCallable()"); } + public UnaryCallable< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutCallable() { + throw new UnsupportedOperationException( + "Not implemented: setAutomatedGa4ConfigurationOptOutCallable()"); + } + + public UnaryCallable< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutCallable() { + throw new UnsupportedOperationException( + "Not implemented: fetchAutomatedGa4ConfigurationOptOutCallable()"); + } + + public UnaryCallable getBigQueryLinkCallable() { + throw new UnsupportedOperationException("Not implemented: getBigQueryLinkCallable()"); + } + + public UnaryCallable + listBigQueryLinksPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listBigQueryLinksPagedCallable()"); + } + + public UnaryCallable + listBigQueryLinksCallable() { + throw new UnsupportedOperationException("Not implemented: listBigQueryLinksCallable()"); + } + @Override public abstract void close(); } diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java index dd95c3e8295c..d66ff9257ab6 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java @@ -20,6 +20,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; @@ -30,6 +31,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; @@ -54,6 +56,7 @@ import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse; import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest; import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse; +import com.google.analytics.admin.v1alpha.BigQueryLink; import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.ChangeHistoryEvent; import com.google.analytics.admin.v1alpha.ConversionEvent; @@ -68,6 +71,7 @@ import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.CreatePropertyRequest; +import com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.CreateUserLinkRequest; import com.google.analytics.admin.v1alpha.CustomDimension; import com.google.analytics.admin.v1alpha.CustomMetric; @@ -83,13 +87,17 @@ import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.DeletePropertyRequest; +import com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse; import com.google.analytics.admin.v1alpha.FirebaseLink; import com.google.analytics.admin.v1alpha.GetAccountRequest; import com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest; import com.google.analytics.admin.v1alpha.GetAudienceRequest; +import com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest; import com.google.analytics.admin.v1alpha.GetConversionEventRequest; import com.google.analytics.admin.v1alpha.GetCustomDimensionRequest; import com.google.analytics.admin.v1alpha.GetCustomMetricRequest; @@ -102,6 +110,7 @@ import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.GetPropertyRequest; +import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.GetUserLinkRequest; import com.google.analytics.admin.v1alpha.GlobalSiteTag; import com.google.analytics.admin.v1alpha.GoogleAdsLink; @@ -112,6 +121,8 @@ import com.google.analytics.admin.v1alpha.ListAccountsResponse; import com.google.analytics.admin.v1alpha.ListAudiencesRequest; import com.google.analytics.admin.v1alpha.ListAudiencesResponse; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse; import com.google.analytics.admin.v1alpha.ListConversionEventsRequest; import com.google.analytics.admin.v1alpha.ListConversionEventsResponse; import com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest; @@ -132,6 +143,8 @@ import com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse; import com.google.analytics.admin.v1alpha.ListPropertiesRequest; import com.google.analytics.admin.v1alpha.ListPropertiesResponse; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse; import com.google.analytics.admin.v1alpha.ListUserLinksRequest; import com.google.analytics.admin.v1alpha.ListUserLinksResponse; import com.google.analytics.admin.v1alpha.MeasurementProtocolSecret; @@ -140,8 +153,11 @@ import com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse; import com.google.analytics.admin.v1alpha.RunAccessReportRequest; import com.google.analytics.admin.v1alpha.RunAccessReportResponse; +import com.google.analytics.admin.v1alpha.SearchAds360Link; import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest; import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse; import com.google.analytics.admin.v1alpha.UpdateAccountRequest; import com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateAudienceRequest; @@ -154,6 +170,7 @@ import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.UpdatePropertyRequest; +import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.UpdateUserLinkRequest; import com.google.analytics.admin.v1alpha.UserLink; import com.google.api.core.ApiFunction; @@ -409,12 +426,35 @@ public class AnalyticsAdminServiceStubSettings private final UnaryCallSettings createAudienceSettings; private final UnaryCallSettings updateAudienceSettings; private final UnaryCallSettings archiveAudienceSettings; + private final UnaryCallSettings + getSearchAds360LinkSettings; + private final PagedCallSettings< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + ListSearchAds360LinksPagedResponse> + listSearchAds360LinksSettings; + private final UnaryCallSettings + createSearchAds360LinkSettings; + private final UnaryCallSettings + deleteSearchAds360LinkSettings; + private final UnaryCallSettings + updateSearchAds360LinkSettings; private final UnaryCallSettings getAttributionSettingsSettings; private final UnaryCallSettings updateAttributionSettingsSettings; private final UnaryCallSettings runAccessReportSettings; + private final UnaryCallSettings< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutSettings; + private final UnaryCallSettings< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutSettings; + private final UnaryCallSettings getBigQueryLinkSettings; + private final PagedCallSettings< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse> + listBigQueryLinksSettings; private static final PagedListDescriptor LIST_ACCOUNTS_PAGE_STR_DESC = @@ -1076,6 +1116,87 @@ public Iterable extractResources(ListAudiencesResponse payload) { } }; + private static final PagedListDescriptor< + ListSearchAds360LinksRequest, ListSearchAds360LinksResponse, SearchAds360Link> + LIST_SEARCH_ADS360_LINKS_PAGE_STR_DESC = + new PagedListDescriptor< + ListSearchAds360LinksRequest, ListSearchAds360LinksResponse, SearchAds360Link>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListSearchAds360LinksRequest injectToken( + ListSearchAds360LinksRequest payload, String token) { + return ListSearchAds360LinksRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListSearchAds360LinksRequest injectPageSize( + ListSearchAds360LinksRequest payload, int pageSize) { + return ListSearchAds360LinksRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListSearchAds360LinksRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListSearchAds360LinksResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + ListSearchAds360LinksResponse payload) { + return payload.getSearchAds360LinksList() == null + ? ImmutableList.of() + : payload.getSearchAds360LinksList(); + } + }; + + private static final PagedListDescriptor< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, BigQueryLink> + LIST_BIG_QUERY_LINKS_PAGE_STR_DESC = + new PagedListDescriptor< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, BigQueryLink>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListBigQueryLinksRequest injectToken( + ListBigQueryLinksRequest payload, String token) { + return ListBigQueryLinksRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListBigQueryLinksRequest injectPageSize( + ListBigQueryLinksRequest payload, int pageSize) { + return ListBigQueryLinksRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListBigQueryLinksRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListBigQueryLinksResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListBigQueryLinksResponse payload) { + return payload.getBigqueryLinksList() == null + ? ImmutableList.of() + : payload.getBigqueryLinksList(); + } + }; + private static final PagedListResponseFactory< ListAccountsRequest, ListAccountsResponse, ListAccountsPagedResponse> LIST_ACCOUNTS_PAGE_STR_FACT = @@ -1443,6 +1564,51 @@ public ApiFuture getFuturePagedResponse( } }; + private static final PagedListResponseFactory< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + ListSearchAds360LinksPagedResponse> + LIST_SEARCH_ADS360_LINKS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + ListSearchAds360LinksPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListSearchAds360LinksRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListSearchAds360LinksRequest, ListSearchAds360LinksResponse, SearchAds360Link> + pageContext = + PageContext.create( + callable, LIST_SEARCH_ADS360_LINKS_PAGE_STR_DESC, request, context); + return ListSearchAds360LinksPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse> + LIST_BIG_QUERY_LINKS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListBigQueryLinksRequest, + ListBigQueryLinksResponse, + ListBigQueryLinksPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListBigQueryLinksRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_BIG_QUERY_LINKS_PAGE_STR_DESC, request, context); + return ListBigQueryLinksPagedResponse.createAsync(pageContext, futureResponse); + } + }; + /** Returns the object with the settings used for calls to getAccount. */ public UnaryCallSettings getAccountSettings() { return getAccountSettings; @@ -1922,6 +2088,38 @@ public UnaryCallSettings archiveAudienceSettings( return archiveAudienceSettings; } + /** Returns the object with the settings used for calls to getSearchAds360Link. */ + public UnaryCallSettings + getSearchAds360LinkSettings() { + return getSearchAds360LinkSettings; + } + + /** Returns the object with the settings used for calls to listSearchAds360Links. */ + public PagedCallSettings< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + ListSearchAds360LinksPagedResponse> + listSearchAds360LinksSettings() { + return listSearchAds360LinksSettings; + } + + /** Returns the object with the settings used for calls to createSearchAds360Link. */ + public UnaryCallSettings + createSearchAds360LinkSettings() { + return createSearchAds360LinkSettings; + } + + /** Returns the object with the settings used for calls to deleteSearchAds360Link. */ + public UnaryCallSettings deleteSearchAds360LinkSettings() { + return deleteSearchAds360LinkSettings; + } + + /** Returns the object with the settings used for calls to updateSearchAds360Link. */ + public UnaryCallSettings + updateSearchAds360LinkSettings() { + return updateSearchAds360LinkSettings; + } + /** Returns the object with the settings used for calls to getAttributionSettings. */ public UnaryCallSettings getAttributionSettingsSettings() { @@ -1940,6 +2138,34 @@ public UnaryCallSettings archiveAudienceSettings( return runAccessReportSettings; } + /** Returns the object with the settings used for calls to setAutomatedGa4ConfigurationOptOut. */ + public UnaryCallSettings< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutSettings() { + return setAutomatedGa4ConfigurationOptOutSettings; + } + + /** + * Returns the object with the settings used for calls to fetchAutomatedGa4ConfigurationOptOut. + */ + public UnaryCallSettings< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutSettings() { + return fetchAutomatedGa4ConfigurationOptOutSettings; + } + + /** Returns the object with the settings used for calls to getBigQueryLink. */ + public UnaryCallSettings getBigQueryLinkSettings() { + return getBigQueryLinkSettings; + } + + /** Returns the object with the settings used for calls to listBigQueryLinks. */ + public PagedCallSettings< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse> + listBigQueryLinksSettings() { + return listBigQueryLinksSettings; + } + public AnalyticsAdminServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() @@ -2141,9 +2367,20 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx createAudienceSettings = settingsBuilder.createAudienceSettings().build(); updateAudienceSettings = settingsBuilder.updateAudienceSettings().build(); archiveAudienceSettings = settingsBuilder.archiveAudienceSettings().build(); + getSearchAds360LinkSettings = settingsBuilder.getSearchAds360LinkSettings().build(); + listSearchAds360LinksSettings = settingsBuilder.listSearchAds360LinksSettings().build(); + createSearchAds360LinkSettings = settingsBuilder.createSearchAds360LinkSettings().build(); + deleteSearchAds360LinkSettings = settingsBuilder.deleteSearchAds360LinkSettings().build(); + updateSearchAds360LinkSettings = settingsBuilder.updateSearchAds360LinkSettings().build(); getAttributionSettingsSettings = settingsBuilder.getAttributionSettingsSettings().build(); updateAttributionSettingsSettings = settingsBuilder.updateAttributionSettingsSettings().build(); runAccessReportSettings = settingsBuilder.runAccessReportSettings().build(); + setAutomatedGa4ConfigurationOptOutSettings = + settingsBuilder.setAutomatedGa4ConfigurationOptOutSettings().build(); + fetchAutomatedGa4ConfigurationOptOutSettings = + settingsBuilder.fetchAutomatedGa4ConfigurationOptOutSettings().build(); + getBigQueryLinkSettings = settingsBuilder.getBigQueryLinkSettings().build(); + listBigQueryLinksSettings = settingsBuilder.listBigQueryLinksSettings().build(); } /** Builder for AnalyticsAdminServiceStubSettings. */ @@ -2336,18 +2573,45 @@ public static class Builder private final UnaryCallSettings.Builder createAudienceSettings; private final UnaryCallSettings.Builder updateAudienceSettings; private final UnaryCallSettings.Builder archiveAudienceSettings; + private final UnaryCallSettings.Builder + getSearchAds360LinkSettings; + private final PagedCallSettings.Builder< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + ListSearchAds360LinksPagedResponse> + listSearchAds360LinksSettings; + private final UnaryCallSettings.Builder + createSearchAds360LinkSettings; + private final UnaryCallSettings.Builder + deleteSearchAds360LinkSettings; + private final UnaryCallSettings.Builder + updateSearchAds360LinkSettings; private final UnaryCallSettings.Builder getAttributionSettingsSettings; private final UnaryCallSettings.Builder updateAttributionSettingsSettings; private final UnaryCallSettings.Builder runAccessReportSettings; + private final UnaryCallSettings.Builder< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutSettings; + private final UnaryCallSettings.Builder< + FetchAutomatedGa4ConfigurationOptOutRequest, + FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutSettings; + private final UnaryCallSettings.Builder + getBigQueryLinkSettings; + private final PagedCallSettings.Builder< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse> + listBigQueryLinksSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; static { ImmutableMap.Builder> definitions = ImmutableMap.builder(); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); definitions.put( "retry_policy_0_codes", ImmutableSet.copyOf( @@ -2361,6 +2625,14 @@ public static class Builder static { ImmutableMap.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_1_params", settings); settings = RetrySettings.newBuilder() .setInitialRetryDelay(Duration.ofMillis(1000L)) @@ -2472,9 +2744,20 @@ protected Builder(ClientContext clientContext) { createAudienceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); updateAudienceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); archiveAudienceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getSearchAds360LinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listSearchAds360LinksSettings = + PagedCallSettings.newBuilder(LIST_SEARCH_ADS360_LINKS_PAGE_STR_FACT); + createSearchAds360LinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteSearchAds360LinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateSearchAds360LinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getAttributionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); updateAttributionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); runAccessReportSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + setAutomatedGa4ConfigurationOptOutSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + fetchAutomatedGa4ConfigurationOptOutSettings = + UnaryCallSettings.newUnaryCallSettingsBuilder(); + getBigQueryLinkSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listBigQueryLinksSettings = PagedCallSettings.newBuilder(LIST_BIG_QUERY_LINKS_PAGE_STR_FACT); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -2554,9 +2837,18 @@ protected Builder(ClientContext clientContext) { createAudienceSettings, updateAudienceSettings, archiveAudienceSettings, + getSearchAds360LinkSettings, + listSearchAds360LinksSettings, + createSearchAds360LinkSettings, + deleteSearchAds360LinkSettings, + updateSearchAds360LinkSettings, getAttributionSettingsSettings, updateAttributionSettingsSettings, - runAccessReportSettings); + runAccessReportSettings, + setAutomatedGa4ConfigurationOptOutSettings, + fetchAutomatedGa4ConfigurationOptOutSettings, + getBigQueryLinkSettings, + listBigQueryLinksSettings); initDefaults(this); } @@ -2658,9 +2950,20 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { createAudienceSettings = settings.createAudienceSettings.toBuilder(); updateAudienceSettings = settings.updateAudienceSettings.toBuilder(); archiveAudienceSettings = settings.archiveAudienceSettings.toBuilder(); + getSearchAds360LinkSettings = settings.getSearchAds360LinkSettings.toBuilder(); + listSearchAds360LinksSettings = settings.listSearchAds360LinksSettings.toBuilder(); + createSearchAds360LinkSettings = settings.createSearchAds360LinkSettings.toBuilder(); + deleteSearchAds360LinkSettings = settings.deleteSearchAds360LinkSettings.toBuilder(); + updateSearchAds360LinkSettings = settings.updateSearchAds360LinkSettings.toBuilder(); getAttributionSettingsSettings = settings.getAttributionSettingsSettings.toBuilder(); updateAttributionSettingsSettings = settings.updateAttributionSettingsSettings.toBuilder(); runAccessReportSettings = settings.runAccessReportSettings.toBuilder(); + setAutomatedGa4ConfigurationOptOutSettings = + settings.setAutomatedGa4ConfigurationOptOutSettings.toBuilder(); + fetchAutomatedGa4ConfigurationOptOutSettings = + settings.fetchAutomatedGa4ConfigurationOptOutSettings.toBuilder(); + getBigQueryLinkSettings = settings.getBigQueryLinkSettings.toBuilder(); + listBigQueryLinksSettings = settings.listBigQueryLinksSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -2740,9 +3043,18 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) { createAudienceSettings, updateAudienceSettings, archiveAudienceSettings, + getSearchAds360LinkSettings, + listSearchAds360LinksSettings, + createSearchAds360LinkSettings, + deleteSearchAds360LinkSettings, + updateSearchAds360LinkSettings, getAttributionSettingsSettings, updateAttributionSettingsSettings, - runAccessReportSettings); + runAccessReportSettings, + setAutomatedGa4ConfigurationOptOutSettings, + fetchAutomatedGa4ConfigurationOptOutSettings, + getBigQueryLinkSettings, + listBigQueryLinksSettings); } private static Builder createDefault() { @@ -2774,28 +3086,28 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .getAccountSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listAccountsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deleteAccountSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updateAccountSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .provisionAccountTicketSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listAccountSummariesSettings() @@ -2804,118 +3116,118 @@ private static Builder initDefaults(Builder builder) { builder .getPropertySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listPropertiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .createPropertySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deletePropertySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updatePropertySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getUserLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .batchGetUserLinksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listUserLinksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .auditUserLinksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .createUserLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .batchCreateUserLinksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updateUserLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .batchUpdateUserLinksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deleteUserLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .batchDeleteUserLinksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .createFirebaseLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deleteFirebaseLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listFirebaseLinksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getGlobalSiteTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .createGoogleAdsLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updateGoogleAdsLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deleteGoogleAdsLinkSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listGoogleAdsLinksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getDataSharingSettingsSettings() @@ -3152,6 +3464,31 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .getSearchAds360LinkSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .listSearchAds360LinksSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .createSearchAds360LinkSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deleteSearchAds360LinkSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .updateSearchAds360LinkSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .getAttributionSettingsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -3167,6 +3504,26 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .setAutomatedGa4ConfigurationOptOutSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .fetchAutomatedGa4ConfigurationOptOutSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getBigQueryLinkSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .listBigQueryLinksSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + return builder; } @@ -3693,6 +4050,39 @@ public UnaryCallSettings.Builder archiveAudienceS return archiveAudienceSettings; } + /** Returns the builder for the settings used for calls to getSearchAds360Link. */ + public UnaryCallSettings.Builder + getSearchAds360LinkSettings() { + return getSearchAds360LinkSettings; + } + + /** Returns the builder for the settings used for calls to listSearchAds360Links. */ + public PagedCallSettings.Builder< + ListSearchAds360LinksRequest, + ListSearchAds360LinksResponse, + ListSearchAds360LinksPagedResponse> + listSearchAds360LinksSettings() { + return listSearchAds360LinksSettings; + } + + /** Returns the builder for the settings used for calls to createSearchAds360Link. */ + public UnaryCallSettings.Builder + createSearchAds360LinkSettings() { + return createSearchAds360LinkSettings; + } + + /** Returns the builder for the settings used for calls to deleteSearchAds360Link. */ + public UnaryCallSettings.Builder + deleteSearchAds360LinkSettings() { + return deleteSearchAds360LinkSettings; + } + + /** Returns the builder for the settings used for calls to updateSearchAds360Link. */ + public UnaryCallSettings.Builder + updateSearchAds360LinkSettings() { + return updateSearchAds360LinkSettings; + } + /** Returns the builder for the settings used for calls to getAttributionSettings. */ public UnaryCallSettings.Builder getAttributionSettingsSettings() { @@ -3711,6 +4101,38 @@ public UnaryCallSettings.Builder archiveAudienceS return runAccessReportSettings; } + /** + * Returns the builder for the settings used for calls to setAutomatedGa4ConfigurationOptOut. + */ + public UnaryCallSettings.Builder< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutSettings() { + return setAutomatedGa4ConfigurationOptOutSettings; + } + + /** + * Returns the builder for the settings used for calls to fetchAutomatedGa4ConfigurationOptOut. + */ + public UnaryCallSettings.Builder< + FetchAutomatedGa4ConfigurationOptOutRequest, + FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutSettings() { + return fetchAutomatedGa4ConfigurationOptOutSettings; + } + + /** Returns the builder for the settings used for calls to getBigQueryLink. */ + public UnaryCallSettings.Builder + getBigQueryLinkSettings() { + return getBigQueryLinkSettings; + } + + /** Returns the builder for the settings used for calls to listBigQueryLinks. */ + public PagedCallSettings.Builder< + ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse> + listBigQueryLinksSettings() { + return listBigQueryLinksSettings; + } + @Override public AnalyticsAdminServiceStubSettings build() throws IOException { return new AnalyticsAdminServiceStubSettings(this); diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java index 79439a361e1e..0463c28a4973 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java @@ -20,6 +20,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; @@ -30,6 +31,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; @@ -52,6 +54,7 @@ import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse; import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest; import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse; +import com.google.analytics.admin.v1alpha.BigQueryLink; import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.ConversionEvent; import com.google.analytics.admin.v1alpha.CreateAudienceRequest; @@ -65,6 +68,7 @@ import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.CreatePropertyRequest; +import com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.CreateUserLinkRequest; import com.google.analytics.admin.v1alpha.CustomDimension; import com.google.analytics.admin.v1alpha.CustomMetric; @@ -80,13 +84,17 @@ import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.DeletePropertyRequest; +import com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse; import com.google.analytics.admin.v1alpha.FirebaseLink; import com.google.analytics.admin.v1alpha.GetAccountRequest; import com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest; import com.google.analytics.admin.v1alpha.GetAudienceRequest; +import com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest; import com.google.analytics.admin.v1alpha.GetConversionEventRequest; import com.google.analytics.admin.v1alpha.GetCustomDimensionRequest; import com.google.analytics.admin.v1alpha.GetCustomMetricRequest; @@ -99,6 +107,7 @@ import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.GetPropertyRequest; +import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.GetUserLinkRequest; import com.google.analytics.admin.v1alpha.GlobalSiteTag; import com.google.analytics.admin.v1alpha.GoogleAdsLink; @@ -109,6 +118,8 @@ import com.google.analytics.admin.v1alpha.ListAccountsResponse; import com.google.analytics.admin.v1alpha.ListAudiencesRequest; import com.google.analytics.admin.v1alpha.ListAudiencesResponse; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse; import com.google.analytics.admin.v1alpha.ListConversionEventsRequest; import com.google.analytics.admin.v1alpha.ListConversionEventsResponse; import com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest; @@ -129,6 +140,8 @@ import com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse; import com.google.analytics.admin.v1alpha.ListPropertiesRequest; import com.google.analytics.admin.v1alpha.ListPropertiesResponse; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse; import com.google.analytics.admin.v1alpha.ListUserLinksRequest; import com.google.analytics.admin.v1alpha.ListUserLinksResponse; import com.google.analytics.admin.v1alpha.MeasurementProtocolSecret; @@ -137,8 +150,11 @@ import com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse; import com.google.analytics.admin.v1alpha.RunAccessReportRequest; import com.google.analytics.admin.v1alpha.RunAccessReportResponse; +import com.google.analytics.admin.v1alpha.SearchAds360Link; import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest; import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse; import com.google.analytics.admin.v1alpha.UpdateAccountRequest; import com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateAudienceRequest; @@ -151,6 +167,7 @@ import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.UpdatePropertyRequest; +import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.UpdateUserLinkRequest; import com.google.analytics.admin.v1alpha.UserLink; import com.google.api.core.BetaApi; @@ -1102,6 +1119,62 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) .build(); + private static final MethodDescriptor + getSearchAds360LinkMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/GetSearchAds360Link") + .setRequestMarshaller( + ProtoUtils.marshaller(GetSearchAds360LinkRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(SearchAds360Link.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listSearchAds360LinksMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/ListSearchAds360Links") + .setRequestMarshaller( + ProtoUtils.marshaller(ListSearchAds360LinksRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListSearchAds360LinksResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createSearchAds360LinkMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/CreateSearchAds360Link") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateSearchAds360LinkRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(SearchAds360Link.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteSearchAds360LinkMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteSearchAds360Link") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteSearchAds360LinkRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updateSearchAds360LinkMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateSearchAds360Link") + .setRequestMarshaller( + ProtoUtils.marshaller(UpdateSearchAds360LinkRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(SearchAds360Link.getDefaultInstance())) + .build(); + private static final MethodDescriptor getAttributionSettingsMethodDescriptor = MethodDescriptor.newBuilder() @@ -1138,6 +1211,65 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { ProtoUtils.marshaller(RunAccessReportResponse.getDefaultInstance())) .build(); + private static final MethodDescriptor< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/SetAutomatedGa4ConfigurationOptOut") + .setRequestMarshaller( + ProtoUtils.marshaller( + SetAutomatedGa4ConfigurationOptOutRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller( + SetAutomatedGa4ConfigurationOptOutResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/FetchAutomatedGa4ConfigurationOptOut") + .setRequestMarshaller( + ProtoUtils.marshaller( + FetchAutomatedGa4ConfigurationOptOutRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller( + FetchAutomatedGa4ConfigurationOptOutResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getBigQueryLinkMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/GetBigQueryLink") + .setRequestMarshaller( + ProtoUtils.marshaller(GetBigQueryLinkRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(BigQueryLink.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listBigQueryLinksMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/ListBigQueryLinks") + .setRequestMarshaller( + ProtoUtils.marshaller(ListBigQueryLinksRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListBigQueryLinksResponse.getDefaultInstance())) + .build(); + private final UnaryCallable getAccountCallable; private final UnaryCallable listAccountsCallable; private final UnaryCallable @@ -1306,12 +1438,34 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub { private final UnaryCallable createAudienceCallable; private final UnaryCallable updateAudienceCallable; private final UnaryCallable archiveAudienceCallable; + private final UnaryCallable + getSearchAds360LinkCallable; + private final UnaryCallable + listSearchAds360LinksCallable; + private final UnaryCallable + listSearchAds360LinksPagedCallable; + private final UnaryCallable + createSearchAds360LinkCallable; + private final UnaryCallable deleteSearchAds360LinkCallable; + private final UnaryCallable + updateSearchAds360LinkCallable; private final UnaryCallable getAttributionSettingsCallable; private final UnaryCallable updateAttributionSettingsCallable; private final UnaryCallable runAccessReportCallable; + private final UnaryCallable< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutCallable; + private final UnaryCallable< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutCallable; + private final UnaryCallable getBigQueryLinkCallable; + private final UnaryCallable + listBigQueryLinksCallable; + private final UnaryCallable + listBigQueryLinksPagedCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -2186,6 +2340,63 @@ protected GrpcAnalyticsAdminServiceStub( return params.build(); }) .build(); + GrpcCallSettings + getSearchAds360LinkTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getSearchAds360LinkMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listSearchAds360LinksTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(listSearchAds360LinksMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings + createSearchAds360LinkTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createSearchAds360LinkMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteSearchAds360LinkTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteSearchAds360LinkMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + updateSearchAds360LinkTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateSearchAds360LinkMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put( + "search_ads_360_link.name", + String.valueOf(request.getSearchAds360Link().getName())); + return params.build(); + }) + .build(); GrpcCallSettings getAttributionSettingsTransportSettings = GrpcCallSettings.newBuilder() @@ -2221,6 +2432,46 @@ protected GrpcAnalyticsAdminServiceStub( return params.build(); }) .build(); + GrpcCallSettings< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(setAutomatedGa4ConfigurationOptOutMethodDescriptor) + .build(); + GrpcCallSettings< + FetchAutomatedGa4ConfigurationOptOutRequest, + FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(fetchAutomatedGa4ConfigurationOptOutMethodDescriptor) + .build(); + GrpcCallSettings getBigQueryLinkTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getBigQueryLinkMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listBigQueryLinksTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listBigQueryLinksMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); this.getAccountCallable = callableFactory.createUnaryCallable( @@ -2616,6 +2867,36 @@ protected GrpcAnalyticsAdminServiceStub( this.archiveAudienceCallable = callableFactory.createUnaryCallable( archiveAudienceTransportSettings, settings.archiveAudienceSettings(), clientContext); + this.getSearchAds360LinkCallable = + callableFactory.createUnaryCallable( + getSearchAds360LinkTransportSettings, + settings.getSearchAds360LinkSettings(), + clientContext); + this.listSearchAds360LinksCallable = + callableFactory.createUnaryCallable( + listSearchAds360LinksTransportSettings, + settings.listSearchAds360LinksSettings(), + clientContext); + this.listSearchAds360LinksPagedCallable = + callableFactory.createPagedCallable( + listSearchAds360LinksTransportSettings, + settings.listSearchAds360LinksSettings(), + clientContext); + this.createSearchAds360LinkCallable = + callableFactory.createUnaryCallable( + createSearchAds360LinkTransportSettings, + settings.createSearchAds360LinkSettings(), + clientContext); + this.deleteSearchAds360LinkCallable = + callableFactory.createUnaryCallable( + deleteSearchAds360LinkTransportSettings, + settings.deleteSearchAds360LinkSettings(), + clientContext); + this.updateSearchAds360LinkCallable = + callableFactory.createUnaryCallable( + updateSearchAds360LinkTransportSettings, + settings.updateSearchAds360LinkSettings(), + clientContext); this.getAttributionSettingsCallable = callableFactory.createUnaryCallable( getAttributionSettingsTransportSettings, @@ -2629,6 +2910,29 @@ protected GrpcAnalyticsAdminServiceStub( this.runAccessReportCallable = callableFactory.createUnaryCallable( runAccessReportTransportSettings, settings.runAccessReportSettings(), clientContext); + this.setAutomatedGa4ConfigurationOptOutCallable = + callableFactory.createUnaryCallable( + setAutomatedGa4ConfigurationOptOutTransportSettings, + settings.setAutomatedGa4ConfigurationOptOutSettings(), + clientContext); + this.fetchAutomatedGa4ConfigurationOptOutCallable = + callableFactory.createUnaryCallable( + fetchAutomatedGa4ConfigurationOptOutTransportSettings, + settings.fetchAutomatedGa4ConfigurationOptOutSettings(), + clientContext); + this.getBigQueryLinkCallable = + callableFactory.createUnaryCallable( + getBigQueryLinkTransportSettings, settings.getBigQueryLinkSettings(), clientContext); + this.listBigQueryLinksCallable = + callableFactory.createUnaryCallable( + listBigQueryLinksTransportSettings, + settings.listBigQueryLinksSettings(), + clientContext); + this.listBigQueryLinksPagedCallable = + callableFactory.createPagedCallable( + listBigQueryLinksTransportSettings, + settings.listBigQueryLinksSettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -3163,6 +3467,40 @@ public UnaryCallable archiveAudienceCallable() { return archiveAudienceCallable; } + @Override + public UnaryCallable getSearchAds360LinkCallable() { + return getSearchAds360LinkCallable; + } + + @Override + public UnaryCallable + listSearchAds360LinksCallable() { + return listSearchAds360LinksCallable; + } + + @Override + public UnaryCallable + listSearchAds360LinksPagedCallable() { + return listSearchAds360LinksPagedCallable; + } + + @Override + public UnaryCallable + createSearchAds360LinkCallable() { + return createSearchAds360LinkCallable; + } + + @Override + public UnaryCallable deleteSearchAds360LinkCallable() { + return deleteSearchAds360LinkCallable; + } + + @Override + public UnaryCallable + updateSearchAds360LinkCallable() { + return updateSearchAds360LinkCallable; + } + @Override public UnaryCallable getAttributionSettingsCallable() { @@ -3180,6 +3518,37 @@ public UnaryCallable runAccessR return runAccessReportCallable; } + @Override + public UnaryCallable< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutCallable() { + return setAutomatedGa4ConfigurationOptOutCallable; + } + + @Override + public UnaryCallable< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutCallable() { + return fetchAutomatedGa4ConfigurationOptOutCallable; + } + + @Override + public UnaryCallable getBigQueryLinkCallable() { + return getBigQueryLinkCallable; + } + + @Override + public UnaryCallable + listBigQueryLinksCallable() { + return listBigQueryLinksCallable; + } + + @Override + public UnaryCallable + listBigQueryLinksPagedCallable() { + return listBigQueryLinksPagedCallable; + } + @Override public final void close() { try { diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java index fdc306c0d29a..6350fd7afc03 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java @@ -20,6 +20,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; @@ -30,6 +31,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; @@ -52,6 +54,7 @@ import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse; import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest; import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse; +import com.google.analytics.admin.v1alpha.BigQueryLink; import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest; import com.google.analytics.admin.v1alpha.ConversionEvent; import com.google.analytics.admin.v1alpha.CreateAudienceRequest; @@ -65,6 +68,7 @@ import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.CreatePropertyRequest; +import com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.CreateUserLinkRequest; import com.google.analytics.admin.v1alpha.CustomDimension; import com.google.analytics.admin.v1alpha.CustomMetric; @@ -80,13 +84,17 @@ import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest; import com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.DeletePropertyRequest; +import com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink; import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse; import com.google.analytics.admin.v1alpha.FirebaseLink; import com.google.analytics.admin.v1alpha.GetAccountRequest; import com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest; import com.google.analytics.admin.v1alpha.GetAudienceRequest; +import com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest; import com.google.analytics.admin.v1alpha.GetConversionEventRequest; import com.google.analytics.admin.v1alpha.GetCustomDimensionRequest; import com.google.analytics.admin.v1alpha.GetCustomMetricRequest; @@ -99,6 +107,7 @@ import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.GetPropertyRequest; +import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.GetUserLinkRequest; import com.google.analytics.admin.v1alpha.GlobalSiteTag; import com.google.analytics.admin.v1alpha.GoogleAdsLink; @@ -109,6 +118,8 @@ import com.google.analytics.admin.v1alpha.ListAccountsResponse; import com.google.analytics.admin.v1alpha.ListAudiencesRequest; import com.google.analytics.admin.v1alpha.ListAudiencesResponse; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse; import com.google.analytics.admin.v1alpha.ListConversionEventsRequest; import com.google.analytics.admin.v1alpha.ListConversionEventsResponse; import com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest; @@ -129,6 +140,8 @@ import com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse; import com.google.analytics.admin.v1alpha.ListPropertiesRequest; import com.google.analytics.admin.v1alpha.ListPropertiesResponse; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse; import com.google.analytics.admin.v1alpha.ListUserLinksRequest; import com.google.analytics.admin.v1alpha.ListUserLinksResponse; import com.google.analytics.admin.v1alpha.MeasurementProtocolSecret; @@ -137,8 +150,11 @@ import com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse; import com.google.analytics.admin.v1alpha.RunAccessReportRequest; import com.google.analytics.admin.v1alpha.RunAccessReportResponse; +import com.google.analytics.admin.v1alpha.SearchAds360Link; import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest; import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse; import com.google.analytics.admin.v1alpha.UpdateAccountRequest; import com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateAudienceRequest; @@ -151,6 +167,7 @@ import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest; import com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest; import com.google.analytics.admin.v1alpha.UpdatePropertyRequest; +import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; import com.google.analytics.admin.v1alpha.UpdateUserLinkRequest; import com.google.analytics.admin.v1alpha.UserLink; import com.google.api.core.BetaApi; @@ -3131,6 +3148,195 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub .build()) .build(); + private static final ApiMethodDescriptor + getSearchAds360LinkMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/GetSearchAds360Link") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{name=properties/*/searchAds360Links/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(SearchAds360Link.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + ListSearchAds360LinksRequest, ListSearchAds360LinksResponse> + listSearchAds360LinksMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/ListSearchAds360Links") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{parent=properties/*}/searchAds360Links", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListSearchAds360LinksResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createSearchAds360LinkMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/CreateSearchAds360Link") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{parent=properties/*}/searchAds360Links", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("searchAds360Link", request.getSearchAds360Link(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(SearchAds360Link.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteSearchAds360LinkMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteSearchAds360Link") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{name=properties/*/searchAds360Links/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateSearchAds360LinkMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateSearchAds360Link") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{searchAds360Link.name=properties/*/searchAds360Links/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, + "searchAds360Link.name", + request.getSearchAds360Link().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("searchAds360Link", request.getSearchAds360Link(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(SearchAds360Link.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor getAttributionSettingsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -3249,6 +3455,166 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub .build()) .build(); + private static final ApiMethodDescriptor< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/SetAutomatedGa4ConfigurationOptOut") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/v1alpha/properties:setAutomatedGa4ConfigurationOptOut", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser + .newBuilder() + .setDefaultInstance( + SetAutomatedGa4ConfigurationOptOutResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/FetchAutomatedGa4ConfigurationOptOut") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser + .newBuilder() + .setDefaultInstance( + FetchAutomatedGa4ConfigurationOptOutResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getBigQueryLinkMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/GetBigQueryLink") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{name=properties/*/bigQueryLinks/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(BigQueryLink.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listBigQueryLinksMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.analytics.admin.v1alpha.AnalyticsAdminService/ListBigQueryLinks") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{parent=properties/*}/bigQueryLinks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListBigQueryLinksResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private final UnaryCallable getAccountCallable; private final UnaryCallable listAccountsCallable; private final UnaryCallable @@ -3417,12 +3783,34 @@ public class HttpJsonAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub private final UnaryCallable createAudienceCallable; private final UnaryCallable updateAudienceCallable; private final UnaryCallable archiveAudienceCallable; + private final UnaryCallable + getSearchAds360LinkCallable; + private final UnaryCallable + listSearchAds360LinksCallable; + private final UnaryCallable + listSearchAds360LinksPagedCallable; + private final UnaryCallable + createSearchAds360LinkCallable; + private final UnaryCallable deleteSearchAds360LinkCallable; + private final UnaryCallable + updateSearchAds360LinkCallable; private final UnaryCallable getAttributionSettingsCallable; private final UnaryCallable updateAttributionSettingsCallable; private final UnaryCallable runAccessReportCallable; + private final UnaryCallable< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutCallable; + private final UnaryCallable< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutCallable; + private final UnaryCallable getBigQueryLinkCallable; + private final UnaryCallable + listBigQueryLinksCallable; + private final UnaryCallable + listBigQueryLinksPagedCallable; private final BackgroundResource backgroundResources; private final HttpJsonStubCallableFactory callableFactory; @@ -3953,6 +4341,37 @@ protected HttpJsonAnalyticsAdminServiceStub( .setMethodDescriptor(archiveAudienceMethodDescriptor) .setTypeRegistry(typeRegistry) .build(); + HttpJsonCallSettings + getSearchAds360LinkTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getSearchAds360LinkMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listSearchAds360LinksTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(listSearchAds360LinksMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + createSearchAds360LinkTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createSearchAds360LinkMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + deleteSearchAds360LinkTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteSearchAds360LinkMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + updateSearchAds360LinkTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateSearchAds360LinkMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); HttpJsonCallSettings getAttributionSettingsTransportSettings = HttpJsonCallSettings.newBuilder() @@ -3971,6 +4390,38 @@ protected HttpJsonAnalyticsAdminServiceStub( .setMethodDescriptor(runAccessReportMethodDescriptor) .setTypeRegistry(typeRegistry) .build(); + HttpJsonCallSettings< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(setAutomatedGa4ConfigurationOptOutMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings< + FetchAutomatedGa4ConfigurationOptOutRequest, + FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(fetchAutomatedGa4ConfigurationOptOutMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getBigQueryLinkTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getBigQueryLinkMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listBigQueryLinksTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listBigQueryLinksMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); this.getAccountCallable = callableFactory.createUnaryCallable( @@ -4366,6 +4817,36 @@ protected HttpJsonAnalyticsAdminServiceStub( this.archiveAudienceCallable = callableFactory.createUnaryCallable( archiveAudienceTransportSettings, settings.archiveAudienceSettings(), clientContext); + this.getSearchAds360LinkCallable = + callableFactory.createUnaryCallable( + getSearchAds360LinkTransportSettings, + settings.getSearchAds360LinkSettings(), + clientContext); + this.listSearchAds360LinksCallable = + callableFactory.createUnaryCallable( + listSearchAds360LinksTransportSettings, + settings.listSearchAds360LinksSettings(), + clientContext); + this.listSearchAds360LinksPagedCallable = + callableFactory.createPagedCallable( + listSearchAds360LinksTransportSettings, + settings.listSearchAds360LinksSettings(), + clientContext); + this.createSearchAds360LinkCallable = + callableFactory.createUnaryCallable( + createSearchAds360LinkTransportSettings, + settings.createSearchAds360LinkSettings(), + clientContext); + this.deleteSearchAds360LinkCallable = + callableFactory.createUnaryCallable( + deleteSearchAds360LinkTransportSettings, + settings.deleteSearchAds360LinkSettings(), + clientContext); + this.updateSearchAds360LinkCallable = + callableFactory.createUnaryCallable( + updateSearchAds360LinkTransportSettings, + settings.updateSearchAds360LinkSettings(), + clientContext); this.getAttributionSettingsCallable = callableFactory.createUnaryCallable( getAttributionSettingsTransportSettings, @@ -4379,6 +4860,29 @@ protected HttpJsonAnalyticsAdminServiceStub( this.runAccessReportCallable = callableFactory.createUnaryCallable( runAccessReportTransportSettings, settings.runAccessReportSettings(), clientContext); + this.setAutomatedGa4ConfigurationOptOutCallable = + callableFactory.createUnaryCallable( + setAutomatedGa4ConfigurationOptOutTransportSettings, + settings.setAutomatedGa4ConfigurationOptOutSettings(), + clientContext); + this.fetchAutomatedGa4ConfigurationOptOutCallable = + callableFactory.createUnaryCallable( + fetchAutomatedGa4ConfigurationOptOutTransportSettings, + settings.fetchAutomatedGa4ConfigurationOptOutSettings(), + clientContext); + this.getBigQueryLinkCallable = + callableFactory.createUnaryCallable( + getBigQueryLinkTransportSettings, settings.getBigQueryLinkSettings(), clientContext); + this.listBigQueryLinksCallable = + callableFactory.createUnaryCallable( + listBigQueryLinksTransportSettings, + settings.listBigQueryLinksSettings(), + clientContext); + this.listBigQueryLinksPagedCallable = + callableFactory.createPagedCallable( + listBigQueryLinksTransportSettings, + settings.listBigQueryLinksSettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -4463,9 +4967,18 @@ public static List getMethodDescriptors() { methodDescriptors.add(createAudienceMethodDescriptor); methodDescriptors.add(updateAudienceMethodDescriptor); methodDescriptors.add(archiveAudienceMethodDescriptor); + methodDescriptors.add(getSearchAds360LinkMethodDescriptor); + methodDescriptors.add(listSearchAds360LinksMethodDescriptor); + methodDescriptors.add(createSearchAds360LinkMethodDescriptor); + methodDescriptors.add(deleteSearchAds360LinkMethodDescriptor); + methodDescriptors.add(updateSearchAds360LinkMethodDescriptor); methodDescriptors.add(getAttributionSettingsMethodDescriptor); methodDescriptors.add(updateAttributionSettingsMethodDescriptor); methodDescriptors.add(runAccessReportMethodDescriptor); + methodDescriptors.add(setAutomatedGa4ConfigurationOptOutMethodDescriptor); + methodDescriptors.add(fetchAutomatedGa4ConfigurationOptOutMethodDescriptor); + methodDescriptors.add(getBigQueryLinkMethodDescriptor); + methodDescriptors.add(listBigQueryLinksMethodDescriptor); return methodDescriptors; } @@ -4994,6 +5507,40 @@ public UnaryCallable archiveAudienceCallable() { return archiveAudienceCallable; } + @Override + public UnaryCallable getSearchAds360LinkCallable() { + return getSearchAds360LinkCallable; + } + + @Override + public UnaryCallable + listSearchAds360LinksCallable() { + return listSearchAds360LinksCallable; + } + + @Override + public UnaryCallable + listSearchAds360LinksPagedCallable() { + return listSearchAds360LinksPagedCallable; + } + + @Override + public UnaryCallable + createSearchAds360LinkCallable() { + return createSearchAds360LinkCallable; + } + + @Override + public UnaryCallable deleteSearchAds360LinkCallable() { + return deleteSearchAds360LinkCallable; + } + + @Override + public UnaryCallable + updateSearchAds360LinkCallable() { + return updateSearchAds360LinkCallable; + } + @Override public UnaryCallable getAttributionSettingsCallable() { @@ -5011,6 +5558,37 @@ public UnaryCallable runAccessR return runAccessReportCallable; } + @Override + public UnaryCallable< + SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOutCallable() { + return setAutomatedGa4ConfigurationOptOutCallable; + } + + @Override + public UnaryCallable< + FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOutCallable() { + return fetchAutomatedGa4ConfigurationOptOutCallable; + } + + @Override + public UnaryCallable getBigQueryLinkCallable() { + return getBigQueryLinkCallable; + } + + @Override + public UnaryCallable + listBigQueryLinksCallable() { + return listBigQueryLinksCallable; + } + + @Override + public UnaryCallable + listBigQueryLinksPagedCallable() { + return listBigQueryLinksPagedCallable; + } + @Override public final void close() { try { diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java index 77e03a9d864c..5687b466928c 100644 --- a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java +++ b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java @@ -20,6 +20,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; @@ -30,6 +31,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; @@ -6591,6 +6593,460 @@ public void archiveAudienceExceptionTest() throws Exception { } } + @Test + public void getSearchAds360LinkTest() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + + SearchAds360Link actualResponse = client.getSearchAds360Link(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getSearchAds360LinkExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + client.getSearchAds360Link(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSearchAds360LinkTest2() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "properties/propertie-3689/searchAds360Links/searchAds360Link-3689"; + + SearchAds360Link actualResponse = client.getSearchAds360Link(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getSearchAds360LinkExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "properties/propertie-3689/searchAds360Links/searchAds360Link-3689"; + client.getSearchAds360Link(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSearchAds360LinksTest() throws Exception { + SearchAds360Link responsesElement = SearchAds360Link.newBuilder().build(); + ListSearchAds360LinksResponse expectedResponse = + ListSearchAds360LinksResponse.newBuilder() + .setNextPageToken("") + .addAllSearchAds360Links(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + PropertyName parent = PropertyName.of("[PROPERTY]"); + + ListSearchAds360LinksPagedResponse pagedListResponse = client.listSearchAds360Links(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSearchAds360LinksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listSearchAds360LinksExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PropertyName parent = PropertyName.of("[PROPERTY]"); + client.listSearchAds360Links(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSearchAds360LinksTest2() throws Exception { + SearchAds360Link responsesElement = SearchAds360Link.newBuilder().build(); + ListSearchAds360LinksResponse expectedResponse = + ListSearchAds360LinksResponse.newBuilder() + .setNextPageToken("") + .addAllSearchAds360Links(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "properties/propertie-2024"; + + ListSearchAds360LinksPagedResponse pagedListResponse = client.listSearchAds360Links(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSearchAds360LinksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listSearchAds360LinksExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "properties/propertie-2024"; + client.listSearchAds360Links(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createSearchAds360LinkTest() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + PropertyName parent = PropertyName.of("[PROPERTY]"); + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + + SearchAds360Link actualResponse = client.createSearchAds360Link(parent, searchAds360Link); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createSearchAds360LinkExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PropertyName parent = PropertyName.of("[PROPERTY]"); + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + client.createSearchAds360Link(parent, searchAds360Link); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createSearchAds360LinkTest2() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "properties/propertie-2024"; + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + + SearchAds360Link actualResponse = client.createSearchAds360Link(parent, searchAds360Link); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createSearchAds360LinkExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "properties/propertie-2024"; + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + client.createSearchAds360Link(parent, searchAds360Link); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSearchAds360LinkTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + + client.deleteSearchAds360Link(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteSearchAds360LinkExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + client.deleteSearchAds360Link(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSearchAds360LinkTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "properties/propertie-3689/searchAds360Links/searchAds360Link-3689"; + + client.deleteSearchAds360Link(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteSearchAds360LinkExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "properties/propertie-3689/searchAds360Links/searchAds360Link-3689"; + client.deleteSearchAds360Link(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateSearchAds360LinkTest() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SearchAds360Link searchAds360Link = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + SearchAds360Link actualResponse = client.updateSearchAds360Link(searchAds360Link, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateSearchAds360LinkExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SearchAds360Link searchAds360Link = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateSearchAds360Link(searchAds360Link, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void getAttributionSettingsTest() throws Exception { AttributionSettings expectedResponse = @@ -6805,4 +7261,306 @@ public void runAccessReportExceptionTest() throws Exception { // Expected exception. } } + + @Test + public void setAutomatedGa4ConfigurationOptOutTest() throws Exception { + SetAutomatedGa4ConfigurationOptOutResponse expectedResponse = + SetAutomatedGa4ConfigurationOptOutResponse.newBuilder().build(); + mockService.addResponse(expectedResponse); + + SetAutomatedGa4ConfigurationOptOutRequest request = + SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .setOptOut(true) + .build(); + + SetAutomatedGa4ConfigurationOptOutResponse actualResponse = + client.setAutomatedGa4ConfigurationOptOut(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setAutomatedGa4ConfigurationOptOutExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SetAutomatedGa4ConfigurationOptOutRequest request = + SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .setOptOut(true) + .build(); + client.setAutomatedGa4ConfigurationOptOut(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchAutomatedGa4ConfigurationOptOutTest() throws Exception { + FetchAutomatedGa4ConfigurationOptOutResponse expectedResponse = + FetchAutomatedGa4ConfigurationOptOutResponse.newBuilder().setOptOut(true).build(); + mockService.addResponse(expectedResponse); + + FetchAutomatedGa4ConfigurationOptOutRequest request = + FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .build(); + + FetchAutomatedGa4ConfigurationOptOutResponse actualResponse = + client.fetchAutomatedGa4ConfigurationOptOut(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void fetchAutomatedGa4ConfigurationOptOutExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FetchAutomatedGa4ConfigurationOptOutRequest request = + FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .build(); + client.fetchAutomatedGa4ConfigurationOptOut(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBigQueryLinkTest() throws Exception { + BigQueryLink expectedResponse = + BigQueryLink.newBuilder() + .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString()) + .setProject("project-309310695") + .setCreateTime(Timestamp.newBuilder().build()) + .setDailyExportEnabled(true) + .setStreamingExportEnabled(true) + .setIncludeAdvertisingId(true) + .addAllExportStreams(new ArrayList()) + .addAllExcludedEvents(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + BigQueryLinkName name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]"); + + BigQueryLink actualResponse = client.getBigQueryLink(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getBigQueryLinkExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + BigQueryLinkName name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]"); + client.getBigQueryLink(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBigQueryLinkTest2() throws Exception { + BigQueryLink expectedResponse = + BigQueryLink.newBuilder() + .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString()) + .setProject("project-309310695") + .setCreateTime(Timestamp.newBuilder().build()) + .setDailyExportEnabled(true) + .setStreamingExportEnabled(true) + .setIncludeAdvertisingId(true) + .addAllExportStreams(new ArrayList()) + .addAllExcludedEvents(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "properties/propertie-7430/bigQueryLinks/bigQueryLink-7430"; + + BigQueryLink actualResponse = client.getBigQueryLink(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getBigQueryLinkExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "properties/propertie-7430/bigQueryLinks/bigQueryLink-7430"; + client.getBigQueryLink(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBigQueryLinksTest() throws Exception { + BigQueryLink responsesElement = BigQueryLink.newBuilder().build(); + ListBigQueryLinksResponse expectedResponse = + ListBigQueryLinksResponse.newBuilder() + .setNextPageToken("") + .addAllBigqueryLinks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + PropertyName parent = PropertyName.of("[PROPERTY]"); + + ListBigQueryLinksPagedResponse pagedListResponse = client.listBigQueryLinks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBigqueryLinksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBigQueryLinksExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PropertyName parent = PropertyName.of("[PROPERTY]"); + client.listBigQueryLinks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBigQueryLinksTest2() throws Exception { + BigQueryLink responsesElement = BigQueryLink.newBuilder().build(); + ListBigQueryLinksResponse expectedResponse = + ListBigQueryLinksResponse.newBuilder() + .setNextPageToken("") + .addAllBigqueryLinks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "properties/propertie-2024"; + + ListBigQueryLinksPagedResponse pagedListResponse = client.listBigQueryLinks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBigqueryLinksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBigQueryLinksExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "properties/propertie-2024"; + client.listBigQueryLinks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java index bd8c352a6ce7..f524c7963db4 100644 --- a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java +++ b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java @@ -20,6 +20,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse; @@ -30,6 +31,7 @@ import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse; +import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse; import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse; @@ -5757,6 +5759,398 @@ public void archiveAudienceExceptionTest() throws Exception { } } + @Test + public void getSearchAds360LinkTest() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + + SearchAds360Link actualResponse = client.getSearchAds360Link(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSearchAds360LinkRequest actualRequest = ((GetSearchAds360LinkRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSearchAds360LinkExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + client.getSearchAds360Link(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSearchAds360LinkTest2() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String name = "name3373707"; + + SearchAds360Link actualResponse = client.getSearchAds360Link(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSearchAds360LinkRequest actualRequest = ((GetSearchAds360LinkRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSearchAds360LinkExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String name = "name3373707"; + client.getSearchAds360Link(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSearchAds360LinksTest() throws Exception { + SearchAds360Link responsesElement = SearchAds360Link.newBuilder().build(); + ListSearchAds360LinksResponse expectedResponse = + ListSearchAds360LinksResponse.newBuilder() + .setNextPageToken("") + .addAllSearchAds360Links(Arrays.asList(responsesElement)) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + PropertyName parent = PropertyName.of("[PROPERTY]"); + + ListSearchAds360LinksPagedResponse pagedListResponse = client.listSearchAds360Links(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSearchAds360LinksList().get(0), resources.get(0)); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSearchAds360LinksRequest actualRequest = + ((ListSearchAds360LinksRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSearchAds360LinksExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + PropertyName parent = PropertyName.of("[PROPERTY]"); + client.listSearchAds360Links(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSearchAds360LinksTest2() throws Exception { + SearchAds360Link responsesElement = SearchAds360Link.newBuilder().build(); + ListSearchAds360LinksResponse expectedResponse = + ListSearchAds360LinksResponse.newBuilder() + .setNextPageToken("") + .addAllSearchAds360Links(Arrays.asList(responsesElement)) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListSearchAds360LinksPagedResponse pagedListResponse = client.listSearchAds360Links(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSearchAds360LinksList().get(0), resources.get(0)); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSearchAds360LinksRequest actualRequest = + ((ListSearchAds360LinksRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSearchAds360LinksExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listSearchAds360Links(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createSearchAds360LinkTest() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + PropertyName parent = PropertyName.of("[PROPERTY]"); + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + + SearchAds360Link actualResponse = client.createSearchAds360Link(parent, searchAds360Link); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateSearchAds360LinkRequest actualRequest = + ((CreateSearchAds360LinkRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(searchAds360Link, actualRequest.getSearchAds360Link()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createSearchAds360LinkExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + PropertyName parent = PropertyName.of("[PROPERTY]"); + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + client.createSearchAds360Link(parent, searchAds360Link); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createSearchAds360LinkTest2() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + + SearchAds360Link actualResponse = client.createSearchAds360Link(parent, searchAds360Link); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateSearchAds360LinkRequest actualRequest = + ((CreateSearchAds360LinkRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(searchAds360Link, actualRequest.getSearchAds360Link()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createSearchAds360LinkExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String parent = "parent-995424086"; + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + client.createSearchAds360Link(parent, searchAds360Link); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSearchAds360LinkTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + + client.deleteSearchAds360Link(name); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSearchAds360LinkRequest actualRequest = + ((DeleteSearchAds360LinkRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSearchAds360LinkExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + client.deleteSearchAds360Link(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSearchAds360LinkTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteSearchAds360Link(name); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSearchAds360LinkRequest actualRequest = + ((DeleteSearchAds360LinkRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSearchAds360LinkExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String name = "name3373707"; + client.deleteSearchAds360Link(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateSearchAds360LinkTest() throws Exception { + SearchAds360Link expectedResponse = + SearchAds360Link.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .setAdvertiserId("advertiserId550061990") + .setCampaignDataSharingEnabled(BoolValue.newBuilder().build()) + .setCostDataSharingEnabled(BoolValue.newBuilder().build()) + .setAdvertiserDisplayName("advertiserDisplayName1594116162") + .setAdsPersonalizationEnabled(BoolValue.newBuilder().build()) + .setSiteStatsSharingEnabled(BoolValue.newBuilder().build()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + SearchAds360Link actualResponse = client.updateSearchAds360Link(searchAds360Link, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateSearchAds360LinkRequest actualRequest = + ((UpdateSearchAds360LinkRequest) actualRequests.get(0)); + + Assert.assertEquals(searchAds360Link, actualRequest.getSearchAds360Link()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateSearchAds360LinkExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateSearchAds360Link(searchAds360Link, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void getAttributionSettingsTest() throws Exception { AttributionSettings expectedResponse = @@ -5955,4 +6349,273 @@ public void runAccessReportExceptionTest() throws Exception { // Expected exception. } } + + @Test + public void setAutomatedGa4ConfigurationOptOutTest() throws Exception { + SetAutomatedGa4ConfigurationOptOutResponse expectedResponse = + SetAutomatedGa4ConfigurationOptOutResponse.newBuilder().build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + SetAutomatedGa4ConfigurationOptOutRequest request = + SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .setOptOut(true) + .build(); + + SetAutomatedGa4ConfigurationOptOutResponse actualResponse = + client.setAutomatedGa4ConfigurationOptOut(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetAutomatedGa4ConfigurationOptOutRequest actualRequest = + ((SetAutomatedGa4ConfigurationOptOutRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getProperty(), actualRequest.getProperty()); + Assert.assertEquals(request.getOptOut(), actualRequest.getOptOut()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setAutomatedGa4ConfigurationOptOutExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + SetAutomatedGa4ConfigurationOptOutRequest request = + SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .setOptOut(true) + .build(); + client.setAutomatedGa4ConfigurationOptOut(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchAutomatedGa4ConfigurationOptOutTest() throws Exception { + FetchAutomatedGa4ConfigurationOptOutResponse expectedResponse = + FetchAutomatedGa4ConfigurationOptOutResponse.newBuilder().setOptOut(true).build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + FetchAutomatedGa4ConfigurationOptOutRequest request = + FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .build(); + + FetchAutomatedGa4ConfigurationOptOutResponse actualResponse = + client.fetchAutomatedGa4ConfigurationOptOut(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + FetchAutomatedGa4ConfigurationOptOutRequest actualRequest = + ((FetchAutomatedGa4ConfigurationOptOutRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getProperty(), actualRequest.getProperty()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void fetchAutomatedGa4ConfigurationOptOutExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + FetchAutomatedGa4ConfigurationOptOutRequest request = + FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .build(); + client.fetchAutomatedGa4ConfigurationOptOut(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBigQueryLinkTest() throws Exception { + BigQueryLink expectedResponse = + BigQueryLink.newBuilder() + .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString()) + .setProject("project-309310695") + .setCreateTime(Timestamp.newBuilder().build()) + .setDailyExportEnabled(true) + .setStreamingExportEnabled(true) + .setIncludeAdvertisingId(true) + .addAllExportStreams(new ArrayList()) + .addAllExcludedEvents(new ArrayList()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + BigQueryLinkName name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]"); + + BigQueryLink actualResponse = client.getBigQueryLink(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBigQueryLinkRequest actualRequest = ((GetBigQueryLinkRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getBigQueryLinkExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + BigQueryLinkName name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]"); + client.getBigQueryLink(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBigQueryLinkTest2() throws Exception { + BigQueryLink expectedResponse = + BigQueryLink.newBuilder() + .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString()) + .setProject("project-309310695") + .setCreateTime(Timestamp.newBuilder().build()) + .setDailyExportEnabled(true) + .setStreamingExportEnabled(true) + .setIncludeAdvertisingId(true) + .addAllExportStreams(new ArrayList()) + .addAllExcludedEvents(new ArrayList()) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String name = "name3373707"; + + BigQueryLink actualResponse = client.getBigQueryLink(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBigQueryLinkRequest actualRequest = ((GetBigQueryLinkRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getBigQueryLinkExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String name = "name3373707"; + client.getBigQueryLink(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBigQueryLinksTest() throws Exception { + BigQueryLink responsesElement = BigQueryLink.newBuilder().build(); + ListBigQueryLinksResponse expectedResponse = + ListBigQueryLinksResponse.newBuilder() + .setNextPageToken("") + .addAllBigqueryLinks(Arrays.asList(responsesElement)) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + PropertyName parent = PropertyName.of("[PROPERTY]"); + + ListBigQueryLinksPagedResponse pagedListResponse = client.listBigQueryLinks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBigqueryLinksList().get(0), resources.get(0)); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBigQueryLinksRequest actualRequest = ((ListBigQueryLinksRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBigQueryLinksExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + PropertyName parent = PropertyName.of("[PROPERTY]"); + client.listBigQueryLinks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBigQueryLinksTest2() throws Exception { + BigQueryLink responsesElement = BigQueryLink.newBuilder().build(); + ListBigQueryLinksResponse expectedResponse = + ListBigQueryLinksResponse.newBuilder() + .setNextPageToken("") + .addAllBigqueryLinks(Arrays.asList(responsesElement)) + .build(); + mockAnalyticsAdminService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListBigQueryLinksPagedResponse pagedListResponse = client.listBigQueryLinks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBigqueryLinksList().get(0), resources.get(0)); + + List actualRequests = mockAnalyticsAdminService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBigQueryLinksRequest actualRequest = ((ListBigQueryLinksRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBigQueryLinksExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAnalyticsAdminService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listBigQueryLinks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java index 3fdbbe59f135..d452a1011169 100644 --- a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java +++ b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java @@ -1680,6 +1680,112 @@ public void archiveAudience( } } + @Override + public void getSearchAds360Link( + GetSearchAds360LinkRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof SearchAds360Link) { + requests.add(request); + responseObserver.onNext(((SearchAds360Link) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetSearchAds360Link, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + SearchAds360Link.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listSearchAds360Links( + ListSearchAds360LinksRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListSearchAds360LinksResponse) { + requests.add(request); + responseObserver.onNext(((ListSearchAds360LinksResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListSearchAds360Links, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListSearchAds360LinksResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createSearchAds360Link( + CreateSearchAds360LinkRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof SearchAds360Link) { + requests.add(request); + responseObserver.onNext(((SearchAds360Link) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateSearchAds360Link, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + SearchAds360Link.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteSearchAds360Link( + DeleteSearchAds360LinkRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteSearchAds360Link, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateSearchAds360Link( + UpdateSearchAds360LinkRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof SearchAds360Link) { + requests.add(request); + responseObserver.onNext(((SearchAds360Link) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateSearchAds360Link, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + SearchAds360Link.class.getName(), + Exception.class.getName()))); + } + } + @Override public void getAttributionSettings( GetAttributionSettingsRequest request, StreamObserver responseObserver) { @@ -1743,4 +1849,91 @@ public void runAccessReport( Exception.class.getName()))); } } + + @Override + public void setAutomatedGa4ConfigurationOptOut( + SetAutomatedGa4ConfigurationOptOutRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof SetAutomatedGa4ConfigurationOptOutResponse) { + requests.add(request); + responseObserver.onNext(((SetAutomatedGa4ConfigurationOptOutResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SetAutomatedGa4ConfigurationOptOut, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + SetAutomatedGa4ConfigurationOptOutResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void fetchAutomatedGa4ConfigurationOptOut( + FetchAutomatedGa4ConfigurationOptOutRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof FetchAutomatedGa4ConfigurationOptOutResponse) { + requests.add(request); + responseObserver.onNext(((FetchAutomatedGa4ConfigurationOptOutResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method FetchAutomatedGa4ConfigurationOptOut, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + FetchAutomatedGa4ConfigurationOptOutResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getBigQueryLink( + GetBigQueryLinkRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof BigQueryLink) { + requests.add(request); + responseObserver.onNext(((BigQueryLink) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetBigQueryLink, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + BigQueryLink.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listBigQueryLinks( + ListBigQueryLinksRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListBigQueryLinksResponse) { + requests.add(request); + responseObserver.onNext(((ListBigQueryLinksResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListBigQueryLinks, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListBigQueryLinksResponse.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java b/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java index caf0adee298b..a03aa8f3f496 100644 --- a/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java +++ b/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java @@ -3840,6 +3840,266 @@ private AnalyticsAdminServiceGrpc() {} return getArchiveAudienceMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getGetSearchAds360LinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSearchAds360Link", + requestType = com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.SearchAds360Link.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getGetSearchAds360LinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getGetSearchAds360LinkMethod; + if ((getGetSearchAds360LinkMethod = AnalyticsAdminServiceGrpc.getGetSearchAds360LinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetSearchAds360LinkMethod = AnalyticsAdminServiceGrpc.getGetSearchAds360LinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetSearchAds360LinkMethod = + getGetSearchAds360LinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetSearchAds360Link")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchAds360Link + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetSearchAds360Link")) + .build(); + } + } + } + return getGetSearchAds360LinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest, + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse> + getListSearchAds360LinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSearchAds360Links", + requestType = com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest, + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse> + getListSearchAds360LinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest, + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse> + getListSearchAds360LinksMethod; + if ((getListSearchAds360LinksMethod = AnalyticsAdminServiceGrpc.getListSearchAds360LinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListSearchAds360LinksMethod = + AnalyticsAdminServiceGrpc.getListSearchAds360LinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListSearchAds360LinksMethod = + getListSearchAds360LinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListSearchAds360Links")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListSearchAds360Links")) + .build(); + } + } + } + return getListSearchAds360LinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getCreateSearchAds360LinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSearchAds360Link", + requestType = com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.SearchAds360Link.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getCreateSearchAds360LinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getCreateSearchAds360LinkMethod; + if ((getCreateSearchAds360LinkMethod = + AnalyticsAdminServiceGrpc.getCreateSearchAds360LinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateSearchAds360LinkMethod = + AnalyticsAdminServiceGrpc.getCreateSearchAds360LinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateSearchAds360LinkMethod = + getCreateSearchAds360LinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateSearchAds360Link")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchAds360Link + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateSearchAds360Link")) + .build(); + } + } + } + return getCreateSearchAds360LinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest, + com.google.protobuf.Empty> + getDeleteSearchAds360LinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSearchAds360Link", + requestType = com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest, + com.google.protobuf.Empty> + getDeleteSearchAds360LinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest, + com.google.protobuf.Empty> + getDeleteSearchAds360LinkMethod; + if ((getDeleteSearchAds360LinkMethod = + AnalyticsAdminServiceGrpc.getDeleteSearchAds360LinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteSearchAds360LinkMethod = + AnalyticsAdminServiceGrpc.getDeleteSearchAds360LinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteSearchAds360LinkMethod = + getDeleteSearchAds360LinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteSearchAds360Link")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteSearchAds360Link")) + .build(); + } + } + } + return getDeleteSearchAds360LinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getUpdateSearchAds360LinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSearchAds360Link", + requestType = com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.SearchAds360Link.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getUpdateSearchAds360LinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link> + getUpdateSearchAds360LinkMethod; + if ((getUpdateSearchAds360LinkMethod = + AnalyticsAdminServiceGrpc.getUpdateSearchAds360LinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateSearchAds360LinkMethod = + AnalyticsAdminServiceGrpc.getUpdateSearchAds360LinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateSearchAds360LinkMethod = + getUpdateSearchAds360LinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateSearchAds360Link")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchAds360Link + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateSearchAds360Link")) + .build(); + } + } + } + return getUpdateSearchAds360LinkMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, com.google.analytics.admin.v1alpha.AttributionSettings> @@ -3994,6 +4254,220 @@ private AnalyticsAdminServiceGrpc() {} return getRunAccessReportMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse> + getSetAutomatedGa4ConfigurationOptOutMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetAutomatedGa4ConfigurationOptOut", + requestType = + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest.class, + responseType = + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse> + getSetAutomatedGa4ConfigurationOptOutMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse> + getSetAutomatedGa4ConfigurationOptOutMethod; + if ((getSetAutomatedGa4ConfigurationOptOutMethod = + AnalyticsAdminServiceGrpc.getSetAutomatedGa4ConfigurationOptOutMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getSetAutomatedGa4ConfigurationOptOutMethod = + AnalyticsAdminServiceGrpc.getSetAutomatedGa4ConfigurationOptOutMethod) + == null) { + AnalyticsAdminServiceGrpc.getSetAutomatedGa4ConfigurationOptOutMethod = + getSetAutomatedGa4ConfigurationOptOutMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "SetAutomatedGa4ConfigurationOptOut")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .SetAutomatedGa4ConfigurationOptOutRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .SetAutomatedGa4ConfigurationOptOutResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "SetAutomatedGa4ConfigurationOptOut")) + .build(); + } + } + } + return getSetAutomatedGa4ConfigurationOptOutMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse> + getFetchAutomatedGa4ConfigurationOptOutMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchAutomatedGa4ConfigurationOptOut", + requestType = + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest.class, + responseType = + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse> + getFetchAutomatedGa4ConfigurationOptOutMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse> + getFetchAutomatedGa4ConfigurationOptOutMethod; + if ((getFetchAutomatedGa4ConfigurationOptOutMethod = + AnalyticsAdminServiceGrpc.getFetchAutomatedGa4ConfigurationOptOutMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getFetchAutomatedGa4ConfigurationOptOutMethod = + AnalyticsAdminServiceGrpc.getFetchAutomatedGa4ConfigurationOptOutMethod) + == null) { + AnalyticsAdminServiceGrpc.getFetchAutomatedGa4ConfigurationOptOutMethod = + getFetchAutomatedGa4ConfigurationOptOutMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "FetchAutomatedGa4ConfigurationOptOut")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "FetchAutomatedGa4ConfigurationOptOut")) + .build(); + } + } + } + return getFetchAutomatedGa4ConfigurationOptOutMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest, + com.google.analytics.admin.v1alpha.BigQueryLink> + getGetBigQueryLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetBigQueryLink", + requestType = com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.BigQueryLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest, + com.google.analytics.admin.v1alpha.BigQueryLink> + getGetBigQueryLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest, + com.google.analytics.admin.v1alpha.BigQueryLink> + getGetBigQueryLinkMethod; + if ((getGetBigQueryLinkMethod = AnalyticsAdminServiceGrpc.getGetBigQueryLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetBigQueryLinkMethod = AnalyticsAdminServiceGrpc.getGetBigQueryLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetBigQueryLinkMethod = + getGetBigQueryLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBigQueryLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetBigQueryLink")) + .build(); + } + } + } + return getGetBigQueryLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest, + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse> + getListBigQueryLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListBigQueryLinks", + requestType = com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest, + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse> + getListBigQueryLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest, + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse> + getListBigQueryLinksMethod; + if ((getListBigQueryLinksMethod = AnalyticsAdminServiceGrpc.getListBigQueryLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListBigQueryLinksMethod = AnalyticsAdminServiceGrpc.getListBigQueryLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListBigQueryLinksMethod = + getListBigQueryLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBigQueryLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListBigQueryLinks")) + .build(); + } + } + } + return getListBigQueryLinksMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static AnalyticsAdminServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -4199,7 +4673,7 @@ public void createProperty( * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) * will be permanently purged. * https://support.google.com/analytics/answer/6154772 - * Returns an error if the target is not found, or is not an GA4 Property. + * Returns an error if the target is not found, or is not a GA4 Property. * */ public void deleteProperty( @@ -5166,6 +5640,7 @@ public void getDataStream( *

      * Lookup for a single Audience.
      * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
      * 
*/ public void getAudience( @@ -5181,6 +5656,7 @@ public void getAudience( *
      * Lists Audiences on a property.
      * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
      * 
*/ public void listAudiences( @@ -5233,6 +5709,81 @@ public void archiveAudience( getArchiveAudienceMethod(), responseObserver); } + /** + * + * + *
+     * Look up a single SearchAds360Link
+     * 
+ */ + public void getSearchAds360Link( + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetSearchAds360LinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all SearchAds360Links on a property.
+     * 
+ */ + public void listSearchAds360Links( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSearchAds360LinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a SearchAds360Link.
+     * 
+ */ + public void createSearchAds360Link( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSearchAds360LinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a SearchAds360Link on a property.
+     * 
+ */ + public void deleteSearchAds360Link( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSearchAds360LinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a SearchAds360Link on a property.
+     * 
+ */ + public void updateSearchAds360Link( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateSearchAds360LinkMethod(), responseObserver); + } + /** * * @@ -5288,6 +5839,72 @@ public void runAccessReport( getRunAccessReportMethod(), responseObserver); } + /** + * + * + *
+     * Sets the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + public void setAutomatedGa4ConfigurationOptOut( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetAutomatedGa4ConfigurationOptOutMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + public void fetchAutomatedGa4ConfigurationOptOut( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchAutomatedGa4ConfigurationOptOutMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single BigQuery Link.
+     * 
+ */ + public void getBigQueryLink( + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetBigQueryLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists BigQuery Links on a property.
+     * 
+ */ + public void listBigQueryLinks( + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBigQueryLinksMethod(), responseObserver); + } + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) @@ -5812,6 +6429,40 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, com.google.protobuf.Empty>(this, METHODID_ARCHIVE_AUDIENCE))) + .addMethod( + getGetSearchAds360LinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link>( + this, METHODID_GET_SEARCH_ADS360LINK))) + .addMethod( + getListSearchAds360LinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest, + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse>( + this, METHODID_LIST_SEARCH_ADS360LINKS))) + .addMethod( + getCreateSearchAds360LinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link>( + this, METHODID_CREATE_SEARCH_ADS360LINK))) + .addMethod( + getDeleteSearchAds360LinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_SEARCH_ADS360LINK))) + .addMethod( + getUpdateSearchAds360LinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link>( + this, METHODID_UPDATE_SEARCH_ADS360LINK))) .addMethod( getGetAttributionSettingsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -5833,6 +6484,37 @@ public final io.grpc.ServerServiceDefinition bindService() { com.google.analytics.admin.v1alpha.RunAccessReportRequest, com.google.analytics.admin.v1alpha.RunAccessReportResponse>( this, METHODID_RUN_ACCESS_REPORT))) + .addMethod( + getSetAutomatedGa4ConfigurationOptOutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha + .SetAutomatedGa4ConfigurationOptOutResponse>( + this, METHODID_SET_AUTOMATED_GA4CONFIGURATION_OPT_OUT))) + .addMethod( + getFetchAutomatedGa4ConfigurationOptOutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutResponse>( + this, METHODID_FETCH_AUTOMATED_GA4CONFIGURATION_OPT_OUT))) + .addMethod( + getGetBigQueryLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest, + com.google.analytics.admin.v1alpha.BigQueryLink>( + this, METHODID_GET_BIG_QUERY_LINK))) + .addMethod( + getListBigQueryLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest, + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse>( + this, METHODID_LIST_BIG_QUERY_LINKS))) .build(); } } @@ -6028,7 +6710,7 @@ public void createProperty( * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) * will be permanently purged. * https://support.google.com/analytics/answer/6154772 - * Returns an error if the target is not found, or is not an GA4 Property. + * Returns an error if the target is not found, or is not a GA4 Property. * */ public void deleteProperty( @@ -7125,6 +7807,7 @@ public void getDataStream( *
      * Lookup for a single Audience.
      * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
      * 
*/ public void getAudience( @@ -7142,6 +7825,7 @@ public void getAudience( *
      * Lists Audiences on a property.
      * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
      * 
*/ public void listAudiences( @@ -7193,11 +7877,96 @@ public void updateAudience( * Archives an Audience on a property. * */ - public void archiveAudience( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void archiveAudience( + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveAudienceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Look up a single SearchAds360Link
+     * 
+ */ + public void getSearchAds360Link( + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSearchAds360LinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all SearchAds360Links on a property.
+     * 
+ */ + public void listSearchAds360Links( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSearchAds360LinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a SearchAds360Link.
+     * 
+ */ + public void createSearchAds360Link( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSearchAds360LinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a SearchAds360Link on a property.
+     * 
+ */ + public void deleteSearchAds360Link( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteSearchAds360LinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a SearchAds360Link on a property.
+     * 
+ */ + public void updateSearchAds360Link( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveAudienceMethod(), getCallOptions()), + getChannel().newCall(getUpdateSearchAds360LinkMethod(), getCallOptions()), request, responseObserver); } @@ -7262,6 +8031,80 @@ public void runAccessReport( request, responseObserver); } + + /** + * + * + *
+     * Sets the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + public void setAutomatedGa4ConfigurationOptOut( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetAutomatedGa4ConfigurationOptOutMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + public void fetchAutomatedGa4ConfigurationOptOut( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchAutomatedGa4ConfigurationOptOutMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single BigQuery Link.
+     * 
+ */ + public void getBigQueryLink( + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBigQueryLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists BigQuery Links on a property.
+     * 
+ */ + public void listBigQueryLinks( + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBigQueryLinksMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -7426,7 +8269,7 @@ public com.google.analytics.admin.v1alpha.Property createProperty( * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) * will be permanently purged. * https://support.google.com/analytics/answer/6154772 - * Returns an error if the target is not found, or is not an GA4 Property. + * Returns an error if the target is not found, or is not a GA4 Property. * */ public com.google.analytics.admin.v1alpha.Property deleteProperty( @@ -8305,6 +9148,7 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStream( *
      * Lookup for a single Audience.
      * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
      * 
*/ public com.google.analytics.admin.v1alpha.Audience getAudience( @@ -8319,6 +9163,7 @@ public com.google.analytics.admin.v1alpha.Audience getAudience( *
      * Lists Audiences on a property.
      * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
      * 
*/ public com.google.analytics.admin.v1alpha.ListAudiencesResponse listAudiences( @@ -8366,6 +9211,71 @@ public com.google.protobuf.Empty archiveAudience( getChannel(), getArchiveAudienceMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Look up a single SearchAds360Link
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link( + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSearchAds360LinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all SearchAds360Links on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse listSearchAds360Links( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSearchAds360LinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a SearchAds360Link.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SearchAds360Link createSearchAds360Link( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSearchAds360LinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a SearchAds360Link on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteSearchAds360Link( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSearchAds360LinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a SearchAds360Link on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SearchAds360Link updateSearchAds360Link( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSearchAds360LinkMethod(), getCallOptions(), request); + } + /** * * @@ -8414,6 +9324,65 @@ public com.google.analytics.admin.v1alpha.RunAccessReportResponse runAccessRepor return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunAccessReportMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Sets the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + setAutomatedGa4ConfigurationOptOut( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetAutomatedGa4ConfigurationOptOutMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + fetchAutomatedGa4ConfigurationOptOut( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchAutomatedGa4ConfigurationOptOutMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single BigQuery Link.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BigQueryLink getBigQueryLink( + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBigQueryLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists BigQuery Links on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse listBigQueryLinks( + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBigQueryLinksMethod(), getCallOptions(), request); + } } /** @@ -8588,7 +9557,7 @@ protected AnalyticsAdminServiceFutureStub build( * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) * will be permanently purged. * https://support.google.com/analytics/answer/6154772 - * Returns an error if the target is not found, or is not an GA4 Property. + * Returns an error if the target is not found, or is not a GA4 Property. * */ public com.google.common.util.concurrent.ListenableFuture< @@ -9540,6 +10509,7 @@ protected AnalyticsAdminServiceFutureStub build( *
      * Lookup for a single Audience.
      * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -9555,6 +10525,7 @@ protected AnalyticsAdminServiceFutureStub build( *
      * Lists Audiences on a property.
      * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -9605,6 +10576,79 @@ protected AnalyticsAdminServiceFutureStub build( getChannel().newCall(getArchiveAudienceMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Look up a single SearchAds360Link
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SearchAds360Link> + getSearchAds360Link(com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSearchAds360LinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all SearchAds360Links on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse> + listSearchAds360Links( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSearchAds360LinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a SearchAds360Link.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SearchAds360Link> + createSearchAds360Link( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSearchAds360LinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a SearchAds360Link on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteSearchAds360Link( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteSearchAds360LinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a SearchAds360Link on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SearchAds360Link> + updateSearchAds360Link( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSearchAds360LinkMethod(), getCallOptions()), request); + } + /** * * @@ -9658,6 +10702,71 @@ protected AnalyticsAdminServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Sets the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOut( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetAutomatedGa4ConfigurationOptOutMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Fetches the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOut( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchAutomatedGa4ConfigurationOptOutMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lookup for a single BigQuery Link.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BigQueryLink> + getBigQueryLink(com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetBigQueryLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists BigQuery Links on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse> + listBigQueryLinks(com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBigQueryLinksMethod(), getCallOptions()), request); + } } private static final int METHODID_GET_ACCOUNT = 0; @@ -9736,9 +10845,18 @@ protected AnalyticsAdminServiceFutureStub build( private static final int METHODID_CREATE_AUDIENCE = 73; private static final int METHODID_UPDATE_AUDIENCE = 74; 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 int METHODID_GET_SEARCH_ADS360LINK = 76; + private static final int METHODID_LIST_SEARCH_ADS360LINKS = 77; + private static final int METHODID_CREATE_SEARCH_ADS360LINK = 78; + private static final int METHODID_DELETE_SEARCH_ADS360LINK = 79; + private static final int METHODID_UPDATE_SEARCH_ADS360LINK = 80; + private static final int METHODID_GET_ATTRIBUTION_SETTINGS = 81; + private static final int METHODID_UPDATE_ATTRIBUTION_SETTINGS = 82; + private static final int METHODID_RUN_ACCESS_REPORT = 83; + private static final int METHODID_SET_AUTOMATED_GA4CONFIGURATION_OPT_OUT = 84; + private static final int METHODID_FETCH_AUTOMATED_GA4CONFIGURATION_OPT_OUT = 85; + private static final int METHODID_GET_BIG_QUERY_LINK = 86; + private static final int METHODID_LIST_BIG_QUERY_LINKS = 87; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -10251,6 +11369,36 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.analytics.admin.v1alpha.ArchiveAudienceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_GET_SEARCH_ADS360LINK: + serviceImpl.getSearchAds360Link( + (com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_SEARCH_ADS360LINKS: + serviceImpl.listSearchAds360Links( + (com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse>) + responseObserver); + break; + case METHODID_CREATE_SEARCH_ADS360LINK: + serviceImpl.createSearchAds360Link( + (com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_SEARCH_ADS360LINK: + serviceImpl.deleteSearchAds360Link( + (com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SEARCH_ADS360LINK: + serviceImpl.updateSearchAds360Link( + (com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; case METHODID_GET_ATTRIBUTION_SETTINGS: serviceImpl.getAttributionSettings( (com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest) request, @@ -10270,6 +11418,37 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv com.google.analytics.admin.v1alpha.RunAccessReportResponse>) responseObserver); break; + case METHODID_SET_AUTOMATED_GA4CONFIGURATION_OPT_OUT: + serviceImpl.setAutomatedGa4ConfigurationOptOut( + (com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .SetAutomatedGa4ConfigurationOptOutResponse>) + responseObserver); + break; + case METHODID_FETCH_AUTOMATED_GA4CONFIGURATION_OPT_OUT: + serviceImpl.fetchAutomatedGa4ConfigurationOptOut( + (com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutResponse>) + responseObserver); + break; + case METHODID_GET_BIG_QUERY_LINK: + serviceImpl.getBigQueryLink( + (com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_BIG_QUERY_LINKS: + serviceImpl.listBigQueryLinks( + (com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse>) + responseObserver); + break; default: throw new AssertionError(); } @@ -10410,9 +11589,18 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getCreateAudienceMethod()) .addMethod(getUpdateAudienceMethod()) .addMethod(getArchiveAudienceMethod()) + .addMethod(getGetSearchAds360LinkMethod()) + .addMethod(getListSearchAds360LinksMethod()) + .addMethod(getCreateSearchAds360LinkMethod()) + .addMethod(getDeleteSearchAds360LinkMethod()) + .addMethod(getUpdateSearchAds360LinkMethod()) .addMethod(getGetAttributionSettingsMethod()) .addMethod(getUpdateAttributionSettingsMethod()) .addMethod(getRunAccessReportMethod()) + .addMethod(getSetAutomatedGa4ConfigurationOptOutMethod()) + .addMethod(getFetchAutomatedGa4ConfigurationOptOutMethod()) + .addMethod(getGetBigQueryLinkMethod()) + .addMethod(getListBigQueryLinksMethod()) .build(); } } 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 index 15cc4382ca44..a2c783737845 100644 --- 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 @@ -127,8 +127,8 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPe * *
    * 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.
+   * number of tokens, and that number is deducted from all of the hourly,
+   * daily, and per project hourly quotas.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -144,8 +144,8 @@ public 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.
+   * number of tokens, and that number is deducted from all of the hourly,
+   * daily, and per project hourly quotas.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -163,8 +163,8 @@ public 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.
+   * number of tokens, and that number is deducted from all of the hourly,
+   * daily, and per project hourly quotas.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -284,6 +284,66 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerPr : serverErrorsPerProjectPerHour_; } + public static final int TOKENS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 5; + private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerProjectPerHour_; + /** + * + * + *
+   * Properties can use up to 25% of their tokens per project per hour. This
+   * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+   * hour. An API request consumes a single number of tokens, and that number is
+   * deducted from all of the hourly, daily, and per project hourly quotas.
+   * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + * @return Whether the tokensPerProjectPerHour field is set. + */ + @java.lang.Override + public boolean hasTokensPerProjectPerHour() { + return tokensPerProjectPerHour_ != null; + } + /** + * + * + *
+   * Properties can use up to 25% of their tokens per project per hour. This
+   * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+   * hour. An API request consumes a single number of tokens, and that number is
+   * deducted from all of the hourly, daily, and per project hourly quotas.
+   * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + * @return The tokensPerProjectPerHour. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerProjectPerHour() { + return tokensPerProjectPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : tokensPerProjectPerHour_; + } + /** + * + * + *
+   * Properties can use up to 25% of their tokens per project per hour. This
+   * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+   * hour. An API request consumes a single number of tokens, and that number is
+   * deducted from all of the hourly, daily, and per project hourly quotas.
+   * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder + getTokensPerProjectPerHourOrBuilder() { + return tokensPerProjectPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : tokensPerProjectPerHour_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -310,6 +370,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (serverErrorsPerProjectPerHour_ != null) { output.writeMessage(4, getServerErrorsPerProjectPerHour()); } + if (tokensPerProjectPerHour_ != null) { + output.writeMessage(5, getTokensPerProjectPerHour()); + } getUnknownFields().writeTo(output); } @@ -333,6 +396,10 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 4, getServerErrorsPerProjectPerHour()); } + if (tokensPerProjectPerHour_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTokensPerProjectPerHour()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -367,6 +434,10 @@ public boolean equals(final java.lang.Object obj) { if (!getServerErrorsPerProjectPerHour().equals(other.getServerErrorsPerProjectPerHour())) return false; } + if (hasTokensPerProjectPerHour() != other.hasTokensPerProjectPerHour()) return false; + if (hasTokensPerProjectPerHour()) { + if (!getTokensPerProjectPerHour().equals(other.getTokensPerProjectPerHour())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -394,6 +465,10 @@ public int hashCode() { hash = (37 * hash) + SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER; hash = (53 * hash) + getServerErrorsPerProjectPerHour().hashCode(); } + if (hasTokensPerProjectPerHour()) { + hash = (37 * hash) + TOKENS_PER_PROJECT_PER_HOUR_FIELD_NUMBER; + hash = (53 * hash) + getTokensPerProjectPerHour().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -555,6 +630,11 @@ public Builder clear() { serverErrorsPerProjectPerHourBuilder_.dispose(); serverErrorsPerProjectPerHourBuilder_ = null; } + tokensPerProjectPerHour_ = null; + if (tokensPerProjectPerHourBuilder_ != null) { + tokensPerProjectPerHourBuilder_.dispose(); + tokensPerProjectPerHourBuilder_ = null; + } return this; } @@ -611,6 +691,12 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessQuota result ? serverErrorsPerProjectPerHour_ : serverErrorsPerProjectPerHourBuilder_.build(); } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.tokensPerProjectPerHour_ = + tokensPerProjectPerHourBuilder_ == null + ? tokensPerProjectPerHour_ + : tokensPerProjectPerHourBuilder_.build(); + } } @java.lang.Override @@ -670,6 +756,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessQuota other) { if (other.hasServerErrorsPerProjectPerHour()) { mergeServerErrorsPerProjectPerHour(other.getServerErrorsPerProjectPerHour()); } + if (other.hasTokensPerProjectPerHour()) { + mergeTokensPerProjectPerHour(other.getTokensPerProjectPerHour()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -722,6 +811,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 34 + case 42: + { + input.readMessage( + getTokensPerProjectPerHourFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -947,8 +1043,8 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer * *
      * 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -963,8 +1059,8 @@ public 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -985,8 +1081,8 @@ public 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -1009,8 +1105,8 @@ public Builder setTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuotaSt * *
      * 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -1031,8 +1127,8 @@ public Builder setTokensPerHour( * *
      * 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -1059,8 +1155,8 @@ public Builder mergeTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuota * *
      * 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -1080,8 +1176,8 @@ public Builder clearTokensPerHour() { * *
      * 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -1096,8 +1192,8 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer * *
      * 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -1117,8 +1213,8 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer * *
      * 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.
+     * number of tokens, and that number is deducted from all of the hourly,
+     * daily, and per project hourly quotas.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -1545,6 +1641,231 @@ public Builder clearServerErrorsPerProjectPerHour() { return serverErrorsPerProjectPerHourBuilder_; } + private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerProjectPerHour_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuotaStatus, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> + tokensPerProjectPerHourBuilder_; + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + * + * @return Whether the tokensPerProjectPerHour field is set. + */ + public boolean hasTokensPerProjectPerHour() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + * + * @return The tokensPerProjectPerHour. + */ + public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerProjectPerHour() { + if (tokensPerProjectPerHourBuilder_ == null) { + return tokensPerProjectPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : tokensPerProjectPerHour_; + } else { + return tokensPerProjectPerHourBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + */ + public Builder setTokensPerProjectPerHour( + com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + if (tokensPerProjectPerHourBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + tokensPerProjectPerHour_ = value; + } else { + tokensPerProjectPerHourBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + */ + public Builder setTokensPerProjectPerHour( + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder builderForValue) { + if (tokensPerProjectPerHourBuilder_ == null) { + tokensPerProjectPerHour_ = builderForValue.build(); + } else { + tokensPerProjectPerHourBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + */ + public Builder mergeTokensPerProjectPerHour( + com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + if (tokensPerProjectPerHourBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && tokensPerProjectPerHour_ != null + && tokensPerProjectPerHour_ + != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { + getTokensPerProjectPerHourBuilder().mergeFrom(value); + } else { + tokensPerProjectPerHour_ = value; + } + } else { + tokensPerProjectPerHourBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + */ + public Builder clearTokensPerProjectPerHour() { + bitField0_ = (bitField0_ & ~0x00000010); + tokensPerProjectPerHour_ = null; + if (tokensPerProjectPerHourBuilder_ != null) { + tokensPerProjectPerHourBuilder_.dispose(); + tokensPerProjectPerHourBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + */ + public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder + getTokensPerProjectPerHourBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getTokensPerProjectPerHourFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + */ + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder + getTokensPerProjectPerHourOrBuilder() { + if (tokensPerProjectPerHourBuilder_ != null) { + return tokensPerProjectPerHourBuilder_.getMessageOrBuilder(); + } else { + return tokensPerProjectPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : tokensPerProjectPerHour_; + } + } + /** + * + * + *
+     * Properties can use up to 25% of their tokens per project per hour. This
+     * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+     * hour. An API request consumes a single number of tokens, and that number is
+     * deducted from all of the hourly, daily, and per project hourly quotas.
+     * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuotaStatus, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> + getTokensPerProjectPerHourFieldBuilder() { + if (tokensPerProjectPerHourBuilder_ == null) { + tokensPerProjectPerHourBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuotaStatus, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( + getTokensPerProjectPerHour(), getParentForChildren(), isClean()); + tokensPerProjectPerHour_ = null; + } + return tokensPerProjectPerHourBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java index 796d90b000a3..092bbe8d945e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java @@ -66,8 +66,8 @@ public interface AccessQuotaOrBuilder * *
    * 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.
+   * number of tokens, and that number is deducted from all of the hourly,
+   * daily, and per project hourly quotas.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -80,8 +80,8 @@ public interface AccessQuotaOrBuilder * *
    * 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.
+   * number of tokens, and that number is deducted from all of the hourly,
+   * daily, and per project hourly quotas.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -94,8 +94,8 @@ public interface AccessQuotaOrBuilder * *
    * 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.
+   * number of tokens, and that number is deducted from all of the hourly,
+   * daily, and per project hourly quotas.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; @@ -178,4 +178,49 @@ public interface AccessQuotaOrBuilder */ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder(); + + /** + * + * + *
+   * Properties can use up to 25% of their tokens per project per hour. This
+   * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+   * hour. An API request consumes a single number of tokens, and that number is
+   * deducted from all of the hourly, daily, and per project hourly quotas.
+   * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + * @return Whether the tokensPerProjectPerHour field is set. + */ + boolean hasTokensPerProjectPerHour(); + /** + * + * + *
+   * Properties can use up to 25% of their tokens per project per hour. This
+   * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+   * hour. An API request consumes a single number of tokens, and that number is
+   * deducted from all of the hourly, daily, and per project hourly quotas.
+   * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + * @return The tokensPerProjectPerHour. + */ + com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerProjectPerHour(); + /** + * + * + *
+   * Properties can use up to 25% of their tokens per project per hour. This
+   * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+   * hour. An API request consumes a single number of tokens, and that number is
+   * deducted from all of the hourly, daily, and per project hourly quotas.
+   * 
+ * + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + */ + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder + getTokensPerProjectPerHourOrBuilder(); } 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 index 63280dc15b45..cbcf53eb9c12 100644 --- 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 @@ -188,7 +188,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "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" + + "\t\"\"\n\021AccessMetricValue\022\r\n\005value\030\001 \001(\t\"\253\003" + "\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" @@ -197,12 +197,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "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" + + "a.AccessQuotaStatus\022V\n\033tokens_per_projec" + + "t_per_hour\030\005 \001(\01321.google.analytics.admi" + + "n.v1alpha.AccessQuotaStatus\"8\n\021AccessQuo" + + "taStatus\022\020\n\010consumed\030\001 \001(\005\022\021\n\tremaining\030" + + "\002 \001(\005B~\n\"com.google.analytics.admin.v1al" + + "phaB\021AccessReportProtoP\001ZCgoogle.golang." + + "org/genproto/googleapis/analytics/admin/" + + "v1alpha;adminb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -378,6 +380,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TokensPerHour", "ConcurrentRequests", "ServerErrorsPerProjectPerHour", + "TokensPerProjectPerHour", }); internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor = getDescriptor().getMessageTypes().get(18); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java index 0a14e27fefc6..9d170d2a57d7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java @@ -133,8 +133,8 @@ public com.google.protobuf.ByteString getPropertyBytes() { * * *
-   * Required. An acknowledgement that the caller of this method understands the terms
-   * of user data collection.
+   * Required. An acknowledgement that the caller of this method understands the
+   * terms of user data collection.
    * This field must contain the exact value:
    * "I acknowledge that I have the necessary privacy disclosures and rights
    * from my end users for the collection and processing of their data,
@@ -162,8 +162,8 @@ public java.lang.String getAcknowledgement() {
    *
    *
    * 
-   * Required. An acknowledgement that the caller of this method understands the terms
-   * of user data collection.
+   * Required. An acknowledgement that the caller of this method understands the
+   * terms of user data collection.
    * This field must contain the exact value:
    * "I acknowledge that I have the necessary privacy disclosures and rights
    * from my end users for the collection and processing of their data,
@@ -687,8 +687,8 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Required. An acknowledgement that the caller of this method understands the terms
-     * of user data collection.
+     * Required. An acknowledgement that the caller of this method understands the
+     * terms of user data collection.
      * This field must contain the exact value:
      * "I acknowledge that I have the necessary privacy disclosures and rights
      * from my end users for the collection and processing of their data,
@@ -715,8 +715,8 @@ public java.lang.String getAcknowledgement() {
      *
      *
      * 
-     * Required. An acknowledgement that the caller of this method understands the terms
-     * of user data collection.
+     * Required. An acknowledgement that the caller of this method understands the
+     * terms of user data collection.
      * This field must contain the exact value:
      * "I acknowledge that I have the necessary privacy disclosures and rights
      * from my end users for the collection and processing of their data,
@@ -743,8 +743,8 @@ public com.google.protobuf.ByteString getAcknowledgementBytes() {
      *
      *
      * 
-     * Required. An acknowledgement that the caller of this method understands the terms
-     * of user data collection.
+     * Required. An acknowledgement that the caller of this method understands the
+     * terms of user data collection.
      * This field must contain the exact value:
      * "I acknowledge that I have the necessary privacy disclosures and rights
      * from my end users for the collection and processing of their data,
@@ -770,8 +770,8 @@ public Builder setAcknowledgement(java.lang.String value) {
      *
      *
      * 
-     * Required. An acknowledgement that the caller of this method understands the terms
-     * of user data collection.
+     * Required. An acknowledgement that the caller of this method understands the
+     * terms of user data collection.
      * This field must contain the exact value:
      * "I acknowledge that I have the necessary privacy disclosures and rights
      * from my end users for the collection and processing of their data,
@@ -793,8 +793,8 @@ public Builder clearAcknowledgement() {
      *
      *
      * 
-     * Required. An acknowledgement that the caller of this method understands the terms
-     * of user data collection.
+     * Required. An acknowledgement that the caller of this method understands the
+     * terms of user data collection.
      * This field must contain the exact value:
      * "I acknowledge that I have the necessary privacy disclosures and rights
      * from my end users for the collection and processing of their data,
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java
index 35c9aa57b8ef..df9fdf11af01 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java
@@ -56,8 +56,8 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder
    *
    *
    * 
-   * Required. An acknowledgement that the caller of this method understands the terms
-   * of user data collection.
+   * Required. An acknowledgement that the caller of this method understands the
+   * terms of user data collection.
    * This field must contain the exact value:
    * "I acknowledge that I have the necessary privacy disclosures and rights
    * from my end users for the collection and processing of their data,
@@ -74,8 +74,8 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder
    *
    *
    * 
-   * Required. An acknowledgement that the caller of this method understands the terms
-   * of user data collection.
+   * Required. An acknowledgement that the caller of this method understands the
+   * terms of user data collection.
    * This field must contain the exact value:
    * "I acknowledge that I have the necessary privacy disclosures and rights
    * from my end users for the collection and processing of their data,
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 a806bba1a4ec..ef15bf56be6b 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
@@ -323,6 +323,30 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
       internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor;
   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor;
   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -435,6 +459,34 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
       internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor;
   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_fieldAccessorTable;
 
   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     return descriptor;
@@ -729,553 +781,640 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "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"
+          + "LinkProposal\"b\n\032GetSearchAds360LinkReque"
+          + "st\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.analyticsadmin"
+          + ".googleapis.com/SearchAds360Link\"\215\001\n\034Lis"
+          + "tSearchAds360LinksRequest\022F\n\006parent\030\001 \001("
+          + "\tB6\340A\002\372A0\022.analyticsadmin.googleapis.com"
+          + "/SearchAds360Link\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n"
+          + "page_token\030\003 \001(\t\"\210\001\n\035ListSearchAds360Lin"
+          + "ksResponse\022N\n\024search_ads_360_links\030\001 \003(\013"
+          + "20.google.analytics.admin.v1alpha.Search"
+          + "Ads360Link\022\027\n\017next_page_token\030\002 \001(\t\"\273\001\n\035"
+          + "CreateSearchAds360LinkRequest\022F\n\006parent\030"
+          + "\001 \001(\tB6\340A\002\372A0\022.analyticsadmin.googleapis"
+          + ".com/SearchAds360Link\022R\n\023search_ads_360_"
+          + "link\030\002 \001(\01320.google.analytics.admin.v1al"
+          + "pha.SearchAds360LinkB\003\340A\002\"e\n\035DeleteSearc"
+          + "hAds360LinkRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0"
+          + "\n.analyticsadmin.googleapis.com/SearchAd"
+          + "s360Link\"\244\001\n\035UpdateSearchAds360LinkReque"
+          + "st\022M\n\023search_ads_360_link\030\001 \001(\01320.google"
+          + ".analytics.admin.v1alpha.SearchAds360Lin"
+          + "k\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf"
+          + ".FieldMaskB\003\340A\002\"\265\001\n\034CreateCustomDimensio"
+          + "nRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analyt"
+          + "icsadmin.googleapis.com/CustomDimension\022"
+          + "N\n\020custom_dimension\030\002 \001(\0132/.google.analy"
+          + "tics.admin.v1alpha.CustomDimensionB\003\340A\002\""
+          + "\237\001\n\034UpdateCustomDimensionRequest\022I\n\020cust"
+          + "om_dimension\030\001 \001(\0132/.google.analytics.ad"
+          + "min.v1alpha.CustomDimension\0224\n\013update_ma"
+          + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A"
+          + "\002\"\213\001\n\033ListCustomDimensionsRequest\022E\n\006par"
+          + "ent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.google"
+          + "apis.com/CustomDimension\022\021\n\tpage_size\030\002 "
+          + "\001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001\n\034ListCustomDi"
+          + "mensionsResponse\022J\n\021custom_dimensions\030\001 "
+          + "\003(\0132/.google.analytics.admin.v1alpha.Cus"
+          + "tomDimension\022\027\n\017next_page_token\030\002 \001(\t\"d\n"
+          + "\035ArchiveCustomDimensionRequest\022C\n\004name\030\001"
+          + " \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapis."
+          + "com/CustomDimension\"`\n\031GetCustomDimensio"
+          + "nRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analytic"
+          + "sadmin.googleapis.com/CustomDimension\"\251\001"
+          + "\n\031CreateCustomMetricRequest\022B\n\006parent\030\001 "
+          + "\001(\tB2\340A\002\372A,\022*analyticsadmin.googleapis.c"
+          + "om/CustomMetric\022H\n\rcustom_metric\030\002 \001(\0132,"
+          + ".google.analytics.admin.v1alpha.CustomMe"
+          + "tricB\003\340A\002\"\226\001\n\031UpdateCustomMetricRequest\022"
+          + "C\n\rcustom_metric\030\001 \001(\0132,.google.analytic"
+          + "s.admin.v1alpha.CustomMetric\0224\n\013update_m"
+          + "ask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340"
+          + "A\002\"\205\001\n\030ListCustomMetricsRequest\022B\n\006paren"
+          + "t\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.googleap"
+          + "is.com/CustomMetric\022\021\n\tpage_size\030\002 \001(\005\022\022"
+          + "\n\npage_token\030\003 \001(\t\"z\n\031ListCustomMetricsR"
+          + "esponse\022D\n\016custom_metrics\030\001 \003(\0132,.google"
+          + ".analytics.admin.v1alpha.CustomMetric\022\027\n"
+          + "\017next_page_token\030\002 \001(\t\"^\n\032ArchiveCustomM"
+          + "etricRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*anal"
+          + "yticsadmin.googleapis.com/CustomMetric\"Z"
+          + "\n\026GetCustomMetricRequest\022@\n\004name\030\001 \001(\tB2"
+          + "\340A\002\372A,\n*analyticsadmin.googleapis.com/Cu"
+          + "stomMetric\"l\n\037GetDataRetentionSettingsRe"
+          + "quest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3analyticsad"
+          + "min.googleapis.com/DataRetentionSettings"
+          + "\"\267\001\n\"UpdateDataRetentionSettingsRequest\022"
+          + "[\n\027data_retention_settings\030\001 \001(\01325.googl"
+          + "e.analytics.admin.v1alpha.DataRetentionS"
+          + "ettingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goog"
+          + "le.protobuf.FieldMaskB\003\340A\002\"\241\001\n\027CreateDat"
+          + "aStreamRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022("
+          + "analyticsadmin.googleapis.com/DataStream"
+          + "\022D\n\013data_stream\030\002 \001(\0132*.google.analytics"
+          + ".admin.v1alpha.DataStreamB\003\340A\002\"Y\n\027Delete"
+          + "DataStreamRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n"
+          + "(analyticsadmin.googleapis.com/DataStrea"
+          + "m\"\220\001\n\027UpdateDataStreamRequest\022?\n\013data_st"
+          + "ream\030\001 \001(\0132*.google.analytics.admin.v1al"
+          + "pha.DataStream\0224\n\013update_mask\030\002 \001(\0132\032.go"
+          + "ogle.protobuf.FieldMaskB\003\340A\002\"\201\001\n\026ListDat"
+          + "aStreamsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022"
+          + "(analyticsadmin.googleapis.com/DataStrea"
+          + "m\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t"
+          + "\"t\n\027ListDataStreamsResponse\022@\n\014data_stre"
+          + "ams\030\001 \003(\0132*.google.analytics.admin.v1alp"
+          + "ha.DataStream\022\027\n\017next_page_token\030\002 \001(\t\"V"
+          + "\n\024GetDataStreamRequest\022>\n\004name\030\001 \001(\tB0\340A"
+          + "\002\372A*\n(analyticsadmin.googleapis.com/Data"
+          + "Stream\"R\n\022GetAudienceRequest\022<\n\004name\030\001 \001"
+          + "(\tB.\340A\002\372A(\n&analyticsadmin.googleapis.co"
+          + "m/Audience\"}\n\024ListAudiencesRequest\022>\n\006pa"
+          + "rent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googl"
+          + "eapis.com/Audience\022\021\n\tpage_size\030\002 \001(\005\022\022\n"
+          + "\npage_token\030\003 \001(\t\"m\n\025ListAudiencesRespon"
+          + "se\022;\n\taudiences\030\001 \003(\0132(.google.analytics"
+          + ".admin.v1alpha.Audience\022\027\n\017next_page_tok"
+          + "en\030\002 \001(\t\"\230\001\n\025CreateAudienceRequest\022>\n\006pa"
+          + "rent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googl"
+          + "eapis.com/Audience\022?\n\010audience\030\002 \001(\0132(.g"
+          + "oogle.analytics.admin.v1alpha.AudienceB\003"
+          + "\340A\002\"\216\001\n\025UpdateAudienceRequest\022?\n\010audienc"
+          + "e\030\001 \001(\0132(.google.analytics.admin.v1alpha"
+          + ".AudienceB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.go"
+          + "ogle.protobuf.FieldMaskB\003\340A\002\"V\n\026ArchiveA"
+          + "udienceRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\022&an"
+          + "alyticsadmin.googleapis.com/Audience\"h\n\035"
+          + "GetAttributionSettingsRequest\022G\n\004name\030\001 "
+          + "\001(\tB9\340A\002\372A3\n1analyticsadmin.googleapis.c"
+          + "om/AttributionSettings\"\260\001\n UpdateAttribu"
+          + "tionSettingsRequest\022V\n\024attribution_setti"
+          + "ngs\030\001 \001(\01323.google.analytics.admin.v1alp"
+          + "ha.AttributionSettingsB\003\340A\002\0224\n\013update_ma"
+          + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A"
+          + "\002\"S\n)SetAutomatedGa4ConfigurationOptOutR"
+          + "equest\022\025\n\010property\030\001 \001(\tB\003\340A\002\022\017\n\007opt_out"
+          + "\030\002 \001(\010\",\n*SetAutomatedGa4ConfigurationOp",
+      "tOutResponse\"D\n+FetchAutomatedGa4Configu"
+          + "rationOptOutRequest\022\025\n\010property\030\001 \001(\tB\003\340"
+          + "A\002\"?\n,FetchAutomatedGa4ConfigurationOptO"
+          + "utResponse\022\017\n\007opt_out\030\001 \001(\010\"Z\n\026GetBigQue"
+          + "ryLinkRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*ana"
+          + "lyticsadmin.googleapis.com/BigQueryLink\""
+          + "\205\001\n\030ListBigQueryLinksRequest\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\"\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"
+          + "com/BigQueryLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np"
+          + "age_token\030\003 \001(\t\"z\n\031ListBigQueryLinksResp"
+          + "onse\022D\n\016bigquery_links\030\001 \003(\0132,.google.an"
+          + "alytics.admin.v1alpha.BigQueryLink\022\027\n\017ne"
+          + "xt_page_token\030\002 \001(\t2\365\234\001\n\025AnalyticsAdminS"
+          + "ervice\022\223\001\n\nGetAccount\0221.google.analytics"
+          + ".admin.v1alpha.GetAccountRequest\032\'.googl"
+          + "e.analytics.admin.v1alpha.Account\")\202\323\344\223\002"
+          + "\034\022\032/v1alpha/{name=accounts/*}\332A\004name\022\224\001\n"
+          + "\014ListAccounts\0223.google.analytics.admin.v"
+          + "1alpha.ListAccountsRequest\0324.google.anal"
+          + "ytics.admin.v1alpha.ListAccountsResponse"
+          + "\"\031\202\323\344\223\002\023\022\021/v1alpha/accounts\022\210\001\n\rDeleteAc"
+          + "count\0224.google.analytics.admin.v1alpha.D"
+          + "eleteAccountRequest\032\026.google.protobuf.Em"
+          + "pty\")\202\323\344\223\002\034*\032/v1alpha/{name=accounts/*}\332"
+          + "A\004name\022\271\001\n\rUpdateAccount\0224.google.analyt"
+          + "ics.admin.v1alpha.UpdateAccountRequest\032\'"
+          + ".google.analytics.admin.v1alpha.Account\""
+          + "I\202\323\344\223\002-2\"/v1alpha/{account.name=accounts"
+          + "/*}:\007account\332A\023account,update_mask\022\314\001\n\026P"
+          + "rovisionAccountTicket\022=.google.analytics"
+          + ".admin.v1alpha.ProvisionAccountTicketReq"
+          + "uest\032>.google.analytics.admin.v1alpha.Pr"
+          + "ovisionAccountTicketResponse\"3\202\323\344\223\002-\"(/v"
+          + "1alpha/accounts:provisionAccountTicket:\001"
+          + "*\022\264\001\n\024ListAccountSummaries\022;.google.anal"
+          + "ytics.admin.v1alpha.ListAccountSummaries"
+          + "Request\032<.google.analytics.admin.v1alpha"
+          + ".ListAccountSummariesResponse\"!\202\323\344\223\002\033\022\031/"
+          + "v1alpha/accountSummaries\022\230\001\n\013GetProperty"
+          + "\0222.google.analytics.admin.v1alpha.GetPro"
+          + "pertyRequest\032(.google.analytics.admin.v1"
+          + "alpha.Property\"+\202\323\344\223\002\036\022\034/v1alpha/{name=p"
+          + "roperties/*}\332A\004name\022\234\001\n\016ListProperties\0225"
+          + ".google.analytics.admin.v1alpha.ListProp"
+          + "ertiesRequest\0326.google.analytics.admin.v"
+          + "1alpha.ListPropertiesResponse\"\033\202\323\344\223\002\025\022\023/"
+          + "v1alpha/properties\022\243\001\n\016CreateProperty\0225."
+          + "google.analytics.admin.v1alpha.CreatePro"
+          + "pertyRequest\032(.google.analytics.admin.v1"
+          + "alpha.Property\"0\202\323\344\223\002\037\"\023/v1alpha/propert"
+          + "ies:\010property\332A\010property\022\236\001\n\016DeletePrope"
+          + "rty\0225.google.analytics.admin.v1alpha.Del"
+          + "etePropertyRequest\032(.google.analytics.ad"
+          + "min.v1alpha.Property\"+\202\323\344\223\002\036*\034/v1alpha/{"
+          + "name=properties/*}\332A\004name\022\301\001\n\016UpdateProp"
+          + "erty\0225.google.analytics.admin.v1alpha.Up"
+          + "datePropertyRequest\032(.google.analytics.a"
+          + "dmin.v1alpha.Property\"N\202\323\344\223\00212%/v1alpha/"
+          + "{property.name=properties/*}:\010property\332A"
+          + "\024property,update_mask\022\316\001\n\013GetUserLink\0222."
+          + "google.analytics.admin.v1alpha.GetUserLi"
+          + "nkRequest\032(.google.analytics.admin.v1alp"
+          + "ha.UserLink\"a\202\323\344\223\002T\022&/v1alpha/{name=acco"
+          + "unts/*/userLinks/*}Z*\022(/v1alpha/{name=pr"
+          + "operties/*/userLinks/*}\332A\004name\022\366\001\n\021Batch"
+          + "GetUserLinks\0228.google.analytics.admin.v1"
+          + "alpha.BatchGetUserLinksRequest\0329.google."
+          + "analytics.admin.v1alpha.BatchGetUserLink"
+          + "sResponse\"l\202\323\344\223\002f\022//v1alpha/{parent=acco"
+          + "unts/*}/userLinks:batchGetZ3\0221/v1alpha/{"
+          + "parent=properties/*}/userLinks:batchGet\022"
+          + "\341\001\n\rListUserLinks\0224.google.analytics.adm"
+          + "in.v1alpha.ListUserLinksRequest\0325.google"
+          + ".analytics.admin.v1alpha.ListUserLinksRe"
+          + "sponse\"c\202\323\344\223\002T\022&/v1alpha/{parent=account"
+          + "s/*}/userLinksZ*\022(/v1alpha/{parent=prope"
+          + "rties/*}/userLinks\332A\006parent\022\355\001\n\016AuditUse"
+          + "rLinks\0225.google.analytics.admin.v1alpha."
+          + "AuditUserLinksRequest\0326.google.analytics"
+          + ".admin.v1alpha.AuditUserLinksResponse\"l\202"
+          + "\323\344\223\002f\",/v1alpha/{parent=accounts/*}/user"
+          + "Links:audit:\001*Z3\"./v1alpha/{parent=prope"
+          + "rties/*}/userLinks:audit:\001*\022\367\001\n\016CreateUs"
+          + "erLink\0225.google.analytics.admin.v1alpha."
+          + "CreateUserLinkRequest\032(.google.analytics"
+          + ".admin.v1alpha.UserLink\"\203\001\202\323\344\223\002j\"&/v1alp"
+          + "ha/{parent=accounts/*}/userLinks:\tuser_l"
+          + "inkZ5\"(/v1alpha/{parent=properties/*}/us"
+          + "erLinks:\tuser_link\332A\020parent,user_link\022\213\002"
+          + "\n\024BatchCreateUserLinks\022;.google.analytic"
+          + "s.admin.v1alpha.BatchCreateUserLinksRequ"
+          + "est\032<.google.analytics.admin.v1alpha.Bat"
+          + "chCreateUserLinksResponse\"x\202\323\344\223\002r\"2/v1al"
+          + "pha/{parent=accounts/*}/userLinks:batchC"
+          + "reate:\001*Z9\"4/v1alpha/{parent=properties/"
+          + "*}/userLinks:batchCreate:\001*\022\204\002\n\016UpdateUs"
+          + "erLink\0225.google.analytics.admin.v1alpha."
+          + "UpdateUserLinkRequest\032(.google.analytics"
+          + ".admin.v1alpha.UserLink\"\220\001\202\323\344\223\002~20/v1alp"
+          + "ha/{user_link.name=accounts/*/userLinks/"
+          + "*}:\tuser_linkZ?22/v1alpha/{user_link.nam"
+          + "e=properties/*/userLinks/*}:\tuser_link\332A"
+          + "\tuser_link\022\213\002\n\024BatchUpdateUserLinks\022;.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/*}\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."
+          + "UserLinksRequest\032<.google.analytics.admi"
+          + "n.v1alpha.BatchUpdateUserLinksResponse\"x"
+          + "\202\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/use"
+          + "rLinks:batchUpdate:\001*Z9\"4/v1alpha/{paren"
+          + "t=properties/*}/userLinks:batchUpdate:\001*"
+          + "\022\302\001\n\016DeleteUserLink\0225.google.analytics.a"
+          + "dmin.v1alpha.DeleteUserLinkRequest\032\026.goo"
+          + "gle.protobuf.Empty\"a\202\323\344\223\002T*&/v1alpha/{na"
+          + "me=accounts/*/userLinks/*}Z**(/v1alpha/{"
+          + "name=properties/*/userLinks/*}\332A\004name\022\345\001"
+          + "\n\024BatchDeleteUserLinks\022;.google.analytic"
+          + "s.admin.v1alpha.BatchDeleteUserLinksRequ"
+          + "est\032\026.google.protobuf.Empty\"x\202\323\344\223\002r\"2/v1"
+          + "alpha/{parent=accounts/*}/userLinks:batc"
+          + "hDelete:\001*Z9\"4/v1alpha/{parent=propertie"
+          + "s/*}/userLinks:batchDelete:\001*\022\331\001\n\022Create"
+          + "FirebaseLink\0229.google.analytics.admin.v1"
+          + "alpha.CreateFirebaseLinkRequest\032,.google"
+          + ".analytics.admin.v1alpha.FirebaseLink\"Z\202"
+          + "\323\344\223\002=\",/v1alpha/{parent=properties/*}/fi"
+          + "rebaseLinks:\rfirebase_link\332A\024parent,fire"
+          + "base_link\022\244\001\n\022DeleteFirebaseLink\0229.googl"
+          + "e.analytics.admin.v1alpha.DeleteFirebase"
+          + "LinkRequest\032\026.google.protobuf.Empty\";\202\323\344"
+          + "\223\002.*,/v1alpha/{name=properties/*/firebas"
+          + "eLinks/*}\332A\004name\022\307\001\n\021ListFirebaseLinks\0228"
+          + ".google.analytics.admin.v1alpha.ListFire"
+          + "baseLinksRequest\0329.google.analytics.admi"
+          + "n.v1alpha.ListFirebaseLinksResponse\"=\202\323\344"
+          + "\223\002.\022,/v1alpha/{parent=properties/*}/fire"
+          + "baseLinks\332A\006parent\022\303\001\n\020GetGlobalSiteTag\022"
+          + "7.google.analytics.admin.v1alpha.GetGlob"
+          + "alSiteTagRequest\032-.google.analytics.admi"
+          + "n.v1alpha.GlobalSiteTag\"G\202\323\344\223\002:\0228/v1alph"
+          + "a/{name=properties/*/dataStreams/*/globa"
+          + "lSiteTag}\332A\004name\022\341\001\n\023CreateGoogleAdsLink"
+          + "\022:.google.analytics.admin.v1alpha.Create"
+          + "GoogleAdsLinkRequest\032-.google.analytics."
+          + "admin.v1alpha.GoogleAdsLink\"_\202\323\344\223\002@\"-/v1"
+          + "alpha/{parent=properties/*}/googleAdsLin"
+          + "ks:\017google_ads_link\332A\026parent,google_ads_"
+          + "link\022\366\001\n\023UpdateGoogleAdsLink\022:.google.an"
+          + "alytics.admin.v1alpha.UpdateGoogleAdsLin"
+          + "kRequest\032-.google.analytics.admin.v1alph"
+          + "a.GoogleAdsLink\"t\202\323\344\223\002P2=/v1alpha/{googl"
+          + "e_ads_link.name=properties/*/googleAdsLi"
+          + "nks/*}:\017google_ads_link\332A\033google_ads_lin"
+          + "k,update_mask\022\247\001\n\023DeleteGoogleAdsLink\022:."
+          + "google.analytics.admin.v1alpha.DeleteGoo"
+          + "gleAdsLinkRequest\032\026.google.protobuf.Empt"
+          + "y\"<\202\323\344\223\002/*-/v1alpha/{name=properties/*/g"
+          + "oogleAdsLinks/*}\332A\004name\022\313\001\n\022ListGoogleAd"
+          + "sLinks\0229.google.analytics.admin.v1alpha."
+          + "ListGoogleAdsLinksRequest\032:.google.analy"
+          + "tics.admin.v1alpha.ListGoogleAdsLinksRes"
+          + "ponse\">\202\323\344\223\002/\022-/v1alpha/{parent=properti"
+          + "es/*}/googleAdsLinks\332A\006parent\022\313\001\n\026GetDat"
+          + "aSharingSettings\022=.google.analytics.admi"
+          + "n.v1alpha.GetDataSharingSettingsRequest\032"
+          + "3.google.analytics.admin.v1alpha.DataSha"
+          + "ringSettings\"=\202\323\344\223\0020\022./v1alpha/{name=acc"
+          + "ounts/*/dataSharingSettings}\332A\004name\022\366\001\n\034"
+          + "GetMeasurementProtocolSecret\022C.google.an"
+          + "alytics.admin.v1alpha.GetMeasurementProt"
+          + "ocolSecretRequest\0329.google.analytics.adm"
+          + "in.v1alpha.MeasurementProtocolSecret\"V\202\323"
+          + "\344\223\002I\022G/v1alpha/{name=properties/*/dataSt"
+          + "reams/*/measurementProtocolSecrets/*}\332A\004"
+          + "name\022\211\002\n\036ListMeasurementProtocolSecrets\022"
+          + "E.google.analytics.admin.v1alpha.ListMea"
+          + "surementProtocolSecretsRequest\032F.google."
+          + "analytics.admin.v1alpha.ListMeasurementP"
+          + "rotocolSecretsResponse\"X\202\323\344\223\002I\022G/v1alpha"
+          + "/{parent=properties/*/dataStreams/*}/mea"
+          + "surementProtocolSecrets\332A\006parent\022\270\002\n\037Cre"
+          + "ateMeasurementProtocolSecret\022F.google.an"
+          + "alytics.admin.v1alpha.CreateMeasurementP"
+          + "rotocolSecretRequest\0329.google.analytics."
+          + "admin.v1alpha.MeasurementProtocolSecret\""
+          + "\221\001\202\323\344\223\002f\"G/v1alpha/{parent=properties/*/"
+          + "dataStreams/*}/measurementProtocolSecret"
+          + "s:\033measurement_protocol_secret\332A\"parent,"
+          + "measurement_protocol_secret\022\331\001\n\037DeleteMe"
+          + "asurementProtocolSecret\022F.google.analyti"
+          + "cs.admin.v1alpha.DeleteMeasurementProtoc"
+          + "olSecretRequest\032\026.google.protobuf.Empty\""
+          + "V\202\323\344\223\002I*G/v1alpha/{name=properties/*/dat"
+          + "aStreams/*/measurementProtocolSecrets/*}"
+          + "\332A\004name\022\332\002\n\037UpdateMeasurementProtocolSec"
+          + "ret\022F.google.analytics.admin.v1alpha.Upd"
+          + "ateMeasurementProtocolSecretRequest\0329.go"
+          + "ogle.analytics.admin.v1alpha.Measurement"
+          + "ProtocolSecret\"\263\001\202\323\344\223\002\202\0012c/v1alpha/{meas"
+          + "urement_protocol_secret.name=properties/"
+          + "*/dataStreams/*/measurementProtocolSecre"
+          + "ts/*}:\033measurement_protocol_secret\332A\'mea"
+          + "surement_protocol_secret,update_mask\022\367\001\n"
+          + "\035AcknowledgeUserDataCollection\022D.google."
+          + "analytics.admin.v1alpha.AcknowledgeUserD"
+          + "ataCollectionRequest\032E.google.analytics."
+          + "admin.v1alpha.AcknowledgeUserDataCollect"
+          + "ionResponse\"I\202\323\344\223\002C\">/v1alpha/{property="
+          + "properties/*}:acknowledgeUserDataCollect"
+          + "ion:\001*\022\344\001\n\031SearchChangeHistoryEvents\022@.g"
+          + "oogle.analytics.admin.v1alpha.SearchChan"
+          + "geHistoryEventsRequest\032A.google.analytic"
+          + "s.admin.v1alpha.SearchChangeHistoryEvent"
+          + "sResponse\"B\202\323\344\223\002<\"7/v1alpha/{account=acc"
+          + "ounts/*}:searchChangeHistoryEvents:\001*\022\325\001"
+          + "\n\030GetGoogleSignalsSettings\022?.google.anal"
+          + "ytics.admin.v1alpha.GetGoogleSignalsSett"
+          + "ingsRequest\0325.google.analytics.admin.v1a"
+          + "lpha.GoogleSignalsSettings\"A\202\323\344\223\0024\0222/v1a"
+          + "lpha/{name=properties/*/googleSignalsSet"
+          + "tings}\332A\004name\022\254\002\n\033UpdateGoogleSignalsSet"
+          + "tings\022B.google.analytics.admin.v1alpha.U"
+          + "pdateGoogleSignalsSettingsRequest\0325.goog"
+          + "le.analytics.admin.v1alpha.GoogleSignals"
+          + "Settings\"\221\001\202\323\344\223\002e2J/v1alpha/{google_sign"
+          + "als_settings.name=properties/*/googleSig"
+          + "nalsSettings}:\027google_signals_settings\332A"
+          + "#google_signals_settings,update_mask\022\353\001\n"
+          + "\025CreateConversionEvent\022<.google.analytic"
+          + "s.admin.v1alpha.CreateConversionEventReq"
+          + "uest\032/.google.analytics.admin.v1alpha.Co"
+          + "nversionEvent\"c\202\323\344\223\002C\"//v1alpha/{parent="
+          + "properties/*}/conversionEvents:\020conversi"
+          + "on_event\332A\027parent,conversion_event\022\300\001\n\022G"
+          + "etConversionEvent\0229.google.analytics.adm"
+          + "in.v1alpha.GetConversionEventRequest\032/.g"
+          + "oogle.analytics.admin.v1alpha.Conversion"
+          + "Event\">\202\323\344\223\0021\022//v1alpha/{name=properties"
+          + "/*/conversionEvents/*}\332A\004name\022\255\001\n\025Delete"
+          + "ConversionEvent\022<.google.analytics.admin"
+          + ".v1alpha.DeleteConversionEventRequest\032\026."
+          + "google.protobuf.Empty\">\202\323\344\223\0021*//v1alpha/"
+          + "{name=properties/*/conversionEvents/*}\332A"
+          + "\004name\022\323\001\n\024ListConversionEvents\022;.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"
-          + "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"
-          + "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"
+          + "entsRequest\032<.google.analytics.admin.v1a"
+          + "lpha.ListConversionEventsResponse\"@\202\323\344\223\002"
+          + "1\022//v1alpha/{parent=properties/*}/conver"
+          + "sionEvents\332A\006parent\022\370\001\n GetDisplayVideo3"
+          + "60AdvertiserLink\022G.google.analytics.admi"
+          + "n.v1alpha.GetDisplayVideo360AdvertiserLi"
+          + "nkRequest\032=.google.analytics.admin.v1alp"
+          + "ha.DisplayVideo360AdvertiserLink\"L\202\323\344\223\002?"
+          + "\022=/v1alpha/{name=properties/*/displayVid"
+          + "eo360AdvertiserLinks/*}\332A\004name\022\213\002\n\"ListD"
+          + "isplayVideo360AdvertiserLinks\022I.google.a"
+          + "nalytics.admin.v1alpha.ListDisplayVideo3"
+          + "60AdvertiserLinksRequest\032J.google.analyt"
+          + "ics.admin.v1alpha.ListDisplayVideo360Adv"
+          + "ertiserLinksResponse\"N\202\323\344\223\002?\022=/v1alpha/{"
+          + "parent=properties/*}/displayVideo360Adve"
+          + "rtiserLinks\332A\006parent\022\306\002\n#CreateDisplayVi"
+          + "deo360AdvertiserLink\022J.google.analytics."
+          + "admin.v1alpha.CreateDisplayVideo360Adver"
+          + "tiserLinkRequest\032=.google.analytics.admi"
+          + "n.v1alpha.DisplayVideo360AdvertiserLink\""
+          + "\223\001\202\323\344\223\002b\"=/v1alpha/{parent=properties/*}"
+          + "/displayVideo360AdvertiserLinks:!display"
+          + "_video_360_advertiser_link\332A(parent,disp"
+          + "lay_video_360_advertiser_link\022\327\001\n#Delete"
+          + "DisplayVideo360AdvertiserLink\022J.google.a"
+          + "nalytics.admin.v1alpha.DeleteDisplayVide"
+          + "o360AdvertiserLinkRequest\032\026.google.proto"
+          + "buf.Empty\"L\202\323\344\223\002?*=/v1alpha/{name=proper"
+          + "ties/*/displayVideo360AdvertiserLinks/*}"
+          + "\332A\004name\022\356\002\n#UpdateDisplayVideo360Adverti"
+          + "serLink\022J.google.analytics.admin.v1alpha"
+          + ".UpdateDisplayVideo360AdvertiserLinkRequ"
+          + "est\032=.google.analytics.admin.v1alpha.Dis"
+          + "playVideo360AdvertiserLink\"\273\001\202\323\344\223\002\204\0012_/v"
+          + "1alpha/{display_video_360_advertiser_lin"
+          + "k.name=properties/*/displayVideo360Adver"
+          + "tiserLinks/*}:!display_video_360_adverti"
+          + "ser_link\332A-display_video_360_advertiser_"
+          + "link,update_mask\022\230\002\n(GetDisplayVideo360A"
+          + "dvertiserLinkProposal\022O.google.analytics"
+          + ".admin.v1alpha.GetDisplayVideo360Adverti"
+          + "serLinkProposalRequest\032E.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"
+          + "rLinkProposal\"T\202\323\344\223\002G\022E/v1alpha/{name=pr"
+          + "operties/*/displayVideo360AdvertiserLink"
+          + "Proposals/*}\332A\004name\022\253\002\n*ListDisplayVideo"
+          + "360AdvertiserLinkProposals\022Q.google.anal"
+          + "ytics.admin.v1alpha.ListDisplayVideo360A"
+          + "dvertiserLinkProposalsRequest\032R.google.a"
+          + "nalytics.admin.v1alpha.ListDisplayVideo3"
+          + "60AdvertiserLinkProposalsResponse\"V\202\323\344\223\002"
+          + "G\022E/v1alpha/{parent=properties/*}/displa"
+          + "yVideo360AdvertiserLinkProposals\332A\006paren"
+          + "t\022\370\002\n+CreateDisplayVideo360AdvertiserLin"
+          + "kProposal\022R.google.analytics.admin.v1alp"
+          + "ha.CreateDisplayVideo360AdvertiserLinkPr"
+          + "oposalRequest\032E.google.analytics.admin.v"
+          + "1alpha.DisplayVideo360AdvertiserLinkProp"
+          + "osal\"\255\001\202\323\344\223\002s\"E/v1alpha/{parent=properti"
+          + "es/*}/displayVideo360AdvertiserLinkPropo"
+          + "sals:*display_video_360_advertiser_link_"
+          + "proposal\332A1parent,display_video_360_adve"
+          + "rtiser_link_proposal\022\357\001\n+DeleteDisplayVi"
           + "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"
-          + "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"
+          + "alytics.admin.v1alpha.DeleteDisplayVideo"
+          + "360AdvertiserLinkProposalRequest\032\026.googl"
+          + "e.protobuf.Empty\"T\202\323\344\223\002G*E/v1alpha/{name"
+          + "=properties/*/displayVideo360AdvertiserL"
+          + "inkProposals/*}\332A\004name\022\263\002\n,ApproveDispla"
+          + "yVideo360AdvertiserLinkProposal\022S.google"
+          + ".analytics.admin.v1alpha.ApproveDisplayV"
+          + "ideo360AdvertiserLinkProposalRequest\032T.g"
+          + "oogle.analytics.admin.v1alpha.ApproveDis"
+          + "playVideo360AdvertiserLinkProposalRespon"
+          + "se\"X\202\323\344\223\002R\"M/v1alpha/{name=properties/*/"
+          + "displayVideo360AdvertiserLinkProposals/*"
+          + "}:approve:\001*\022\241\002\n+CancelDisplayVideo360Ad"
+          + "vertiserLinkProposal\022R.google.analytics."
+          + "admin.v1alpha.CancelDisplayVideo360Adver"
+          + "tiserLinkProposalRequest\032E.google.analyt"
+          + "ics.admin.v1alpha.DisplayVideo360Adverti"
+          + "serLinkProposal\"W\202\323\344\223\002Q\"L/v1alpha/{name="
+          + "properties/*/displayVideo360AdvertiserLi"
+          + "nkProposals/*}:cancel:\001*\022\353\001\n\025CreateCusto"
+          + "mDimension\022<.google.analytics.admin.v1al"
+          + "pha.CreateCustomDimensionRequest\032/.googl"
+          + "e.analytics.admin.v1alpha.CustomDimensio"
+          + "n\"c\202\323\344\223\002C\"//v1alpha/{parent=properties/*"
+          + "}/customDimensions:\020custom_dimension\332A\027p"
+          + "arent,custom_dimension\022\201\002\n\025UpdateCustomD"
+          + "imension\022<.google.analytics.admin.v1alph"
+          + "a.UpdateCustomDimensionRequest\032/.google."
+          + "analytics.admin.v1alpha.CustomDimension\""
+          + "y\202\323\344\223\002T2@/v1alpha/{custom_dimension.name"
+          + "=properties/*/customDimensions/*}:\020custo"
+          + "m_dimension\332A\034custom_dimension,update_ma"
+          + "sk\022\323\001\n\024ListCustomDimensions\022;.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\";\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"
+          + "sRequest\032<.google.analytics.admin.v1alph"
+          + "a.ListCustomDimensionsResponse\"@\202\323\344\223\0021\022/"
+          + "/v1alpha/{parent=properties/*}/customDim"
+          + "ensions\332A\006parent\022\272\001\n\026ArchiveCustomDimens"
+          + "ion\022=.google.analytics.admin.v1alpha.Arc"
+          + "hiveCustomDimensionRequest\032\026.google.prot"
+          + "obuf.Empty\"I\202\323\344\223\002<\"7/v1alpha/{name=prope"
+          + "rties/*/customDimensions/*}:archive:\001*\332A"
+          + "\004name\022\300\001\n\022GetCustomDimension\0229.google.an"
+          + "alytics.admin.v1alpha.GetCustomDimension"
+          + "Request\032/.google.analytics.admin.v1alpha"
+          + ".CustomDimension\">\202\323\344\223\0021\022//v1alpha/{name"
+          + "=properties/*/customDimensions/*}\332A\004name"
+          + "\022\331\001\n\022CreateCustomMetric\0229.google.analyti"
+          + "cs.admin.v1alpha.CreateCustomMetricReque"
+          + "st\032,.google.analytics.admin.v1alpha.Cust"
+          + "omMetric\"Z\202\323\344\223\002=\",/v1alpha/{parent=prope"
+          + "rties/*}/customMetrics:\rcustom_metric\332A\024"
+          + "parent,custom_metric\022\354\001\n\022UpdateCustomMet"
+          + "ric\0229.google.analytics.admin.v1alpha.Upd"
+          + "ateCustomMetricRequest\032,.google.analytic"
+          + "s.admin.v1alpha.CustomMetric\"m\202\323\344\223\002K2:/v"
+          + "1alpha/{custom_metric.name=properties/*/"
+          + "customMetrics/*}:\rcustom_metric\332A\031custom"
+          + "_metric,update_mask\022\307\001\n\021ListCustomMetric"
+          + "s\0228.google.analytics.admin.v1alpha.ListC"
+          + "ustomMetricsRequest\0329.google.analytics.a"
+          + "dmin.v1alpha.ListCustomMetricsResponse\"="
+          + "\202\323\344\223\002.\022,/v1alpha/{parent=properties/*}/c"
+          + "ustomMetrics\332A\006parent\022\261\001\n\023ArchiveCustomM"
+          + "etric\022:.google.analytics.admin.v1alpha.A"
+          + "rchiveCustomMetricRequest\032\026.google.proto"
+          + "buf.Empty\"F\202\323\344\223\0029\"4/v1alpha/{name=proper"
+          + "ties/*/customMetrics/*}:archive:\001*\332A\004nam"
+          + "e\022\264\001\n\017GetCustomMetric\0226.google.analytics"
+          + ".admin.v1alpha.GetCustomMetricRequest\032,."
+          + "google.analytics.admin.v1alpha.CustomMet"
+          + "ric\";\202\323\344\223\002.\022,/v1alpha/{name=properties/*"
+          + "/customMetrics/*}\332A\004name\022\325\001\n\030GetDataRete"
+          + "ntionSettings\022?.google.analytics.admin.v"
+          + "1alpha.GetDataRetentionSettingsRequest\0325"
+          + ".google.analytics.admin.v1alpha.DataRete"
+          + "ntionSettings\"A\202\323\344\223\0024\0222/v1alpha/{name=pr"
+          + "operties/*/dataRetentionSettings}\332A\004name"
+          + "\022\254\002\n\033UpdateDataRetentionSettings\022B.googl"
+          + "e.analytics.admin.v1alpha.UpdateDataRete"
+          + "ntionSettingsRequest\0325.google.analytics."
+          + "admin.v1alpha.DataRetentionSettings\"\221\001\202\323"
+          + "\344\223\002e2J/v1alpha/{data_retention_settings."
+          + "name=properties/*/dataRetentionSettings}"
+          + ":\027data_retention_settings\332A#data_retenti"
+          + "on_settings,update_mask\022\315\001\n\020CreateDataSt"
+          + "ream\0227.google.analytics.admin.v1alpha.Cr"
+          + "eateDataStreamRequest\032*.google.analytics"
+          + ".admin.v1alpha.DataStream\"T\202\323\344\223\0029\"*/v1al"
+          + "pha/{parent=properties/*}/dataStreams:\013d"
+          + "ata_stream\332A\022parent,data_stream\022\236\001\n\020Dele"
+          + "teDataStream\0227.google.analytics.admin.v1",
+      "alpha.DeleteDataStreamRequest\032\026.google.p"
+          + "rotobuf.Empty\"9\202\323\344\223\002,**/v1alpha/{name=pr"
+          + "operties/*/dataStreams/*}\332A\004name\022\336\001\n\020Upd"
+          + "ateDataStream\0227.google.analytics.admin.v"
+          + "1alpha.UpdateDataStreamRequest\032*.google."
+          + "analytics.admin.v1alpha.DataStream\"e\202\323\344\223"
+          + "\002E26/v1alpha/{data_stream.name=propertie"
+          + "s/*/dataStreams/*}:\013data_stream\332A\027data_s"
+          + "tream,update_mask\022\277\001\n\017ListDataStreams\0226."
+          + "google.analytics.admin.v1alpha.ListDataS"
+          + "treamsRequest\0327.google.analytics.admin.v"
+          + "1alpha.ListDataStreamsResponse\";\202\323\344\223\002,\022*"
+          + "/v1alpha/{parent=properties/*}/dataStrea"
+          + "ms\332A\006parent\022\254\001\n\rGetDataStream\0224.google.a"
+          + "nalytics.admin.v1alpha.GetDataStreamRequ"
+          + "est\032*.google.analytics.admin.v1alpha.Dat"
+          + "aStream\"9\202\323\344\223\002,\022*/v1alpha/{name=properti"
+          + "es/*/dataStreams/*}\332A\004name\022\244\001\n\013GetAudien"
+          + "ce\0222.google.analytics.admin.v1alpha.GetA"
+          + "udienceRequest\032(.google.analytics.admin."
+          + "v1alpha.Audience\"7\202\323\344\223\002*\022(/v1alpha/{name"
+          + "=properties/*/audiences/*}\332A\004name\022\267\001\n\rLi"
+          + "stAudiences\0224.google.analytics.admin.v1a"
+          + "lpha.ListAudiencesRequest\0325.google.analy"
+          + "tics.admin.v1alpha.ListAudiencesResponse"
+          + "\"9\202\323\344\223\002*\022(/v1alpha/{parent=properties/*}"
+          + "/audiences\332A\006parent\022\277\001\n\016CreateAudience\0225"
+          + ".google.analytics.admin.v1alpha.CreateAu"
+          + "dienceRequest\032(.google.analytics.admin.v"
+          + "1alpha.Audience\"L\202\323\344\223\0024\"(/v1alpha/{paren"
+          + "t=properties/*}/audiences:\010audience\332A\017pa"
+          + "rent,audience\022\315\001\n\016UpdateAudience\0225.googl"
+          + "e.analytics.admin.v1alpha.UpdateAudience"
+          + "Request\032(.google.analytics.admin.v1alpha"
+          + ".Audience\"Z\202\323\344\223\002=21/v1alpha/{audience.na"
+          + "me=properties/*/audiences/*}:\010audience\332A"
+          + "\024audience,update_mask\022\236\001\n\017ArchiveAudienc"
+          + "e\0226.google.analytics.admin.v1alpha.Archi"
+          + "veAudienceRequest\032\026.google.protobuf.Empt"
+          + "y\";\202\323\344\223\0025\"0/v1alpha/{name=properties/*/a"
+          + "udiences/*}:archive:\001*\022\304\001\n\023GetSearchAds3"
+          + "60Link\022:.google.analytics.admin.v1alpha."
+          + "GetSearchAds360LinkRequest\0320.google.anal"
+          + "ytics.admin.v1alpha.SearchAds360Link\"?\202\323"
+          + "\344\223\0022\0220/v1alpha/{name=properties/*/search"
+          + "Ads360Links/*}\332A\004name\022\327\001\n\025ListSearchAds3"
+          + "60Links\022<.google.analytics.admin.v1alpha"
+          + ".ListSearchAds360LinksRequest\032=.google.a"
+          + "nalytics.admin.v1alpha.ListSearchAds360L"
+          + "inksResponse\"A\202\323\344\223\0022\0220/v1alpha/{parent=p"
+          + "roperties/*}/searchAds360Links\332A\006parent\022"
+          + "\365\001\n\026CreateSearchAds360Link\022=.google.anal"
+          + "ytics.admin.v1alpha.CreateSearchAds360Li"
+          + "nkRequest\0320.google.analytics.admin.v1alp"
+          + "ha.SearchAds360Link\"j\202\323\344\223\002G\"0/v1alpha/{p"
+          + "arent=properties/*}/searchAds360Links:\023s"
+          + "earch_ads_360_link\332A\032parent,search_ads_3"
+          + "60_link\022\260\001\n\026DeleteSearchAds360Link\022=.goo"
+          + "gle.analytics.admin.v1alpha.DeleteSearch"
+          + "Ads360LinkRequest\032\026.google.protobuf.Empt"
+          + "y\"?\202\323\344\223\0022*0/v1alpha/{name=properties/*/s"
+          + "earchAds360Links/*}\332A\004name\022\217\002\n\026UpdateSea"
+          + "rchAds360Link\022=.google.analytics.admin.v"
+          + "1alpha.UpdateSearchAds360LinkRequest\0320.g"
+          + "oogle.analytics.admin.v1alpha.SearchAds3"
+          + "60Link\"\203\001\202\323\344\223\002[2D/v1alpha/{search_ads_36"
+          + "0_link.name=properties/*/searchAds360Lin"
+          + "ks/*}:\023search_ads_360_link\332A\037search_ads_"
+          + "360_link,update_mask\022\315\001\n\026GetAttributionS"
+          + "ettings\022=.google.analytics.admin.v1alpha"
+          + ".GetAttributionSettingsRequest\0323.google."
+          + "analytics.admin.v1alpha.AttributionSetti"
+          + "ngs\"?\202\323\344\223\0022\0220/v1alpha/{name=properties/*"
+          + "/attributionSettings}\332A\004name\022\233\002\n\031UpdateA"
+          + "ttributionSettings\022@.google.analytics.ad"
+          + "min.v1alpha.UpdateAttributionSettingsReq"
+          + "uest\0323.google.analytics.admin.v1alpha.At"
+          + "tributionSettings\"\206\001\202\323\344\223\002]2E/v1alpha/{at"
+          + "tribution_settings.name=properties/*/att"
+          + "ributionSettings}:\024attribution_settings\332"
+          + "A attribution_settings,update_mask\022\275\001\n\017R"
+          + "unAccessReport\0226.google.analytics.admin."
+          + "v1alpha.RunAccessReportRequest\0327.google."
+          + "analytics.admin.v1alpha.RunAccessReportR"
+          + "esponse\"9\202\323\344\223\0023\"./v1alpha/{entity=proper"
+          + "ties/*}:runAccessReport:\001*\022\376\001\n\"SetAutoma"
+          + "tedGa4ConfigurationOptOut\022I.google.analy"
+          + "tics.admin.v1alpha.SetAutomatedGa4Config"
+          + "urationOptOutRequest\032J.google.analytics."
+          + "admin.v1alpha.SetAutomatedGa4Configurati"
+          + "onOptOutResponse\"A\202\323\344\223\002;\"6/v1alpha/prope"
+          + "rties:setAutomatedGa4ConfigurationOptOut"
+          + ":\001*\022\206\002\n$FetchAutomatedGa4ConfigurationOp"
+          + "tOut\022K.google.analytics.admin.v1alpha.Fe"
+          + "tchAutomatedGa4ConfigurationOptOutReques"
+          + "t\032L.google.analytics.admin.v1alpha.Fetch"
+          + "AutomatedGa4ConfigurationOptOutResponse\""
+          + "C\202\323\344\223\002=\"8/v1alpha/properties:fetchAutoma"
+          + "tedGa4ConfigurationOptOut:\001*\022\264\001\n\017GetBigQ"
+          + "ueryLink\0226.google.analytics.admin.v1alph"
+          + "a.GetBigQueryLinkRequest\032,.google.analyt"
+          + "ics.admin.v1alpha.BigQueryLink\";\202\323\344\223\002.\022,"
+          + "/v1alpha/{name=properties/*/bigQueryLink"
+          + "s/*}\332A\004name\022\307\001\n\021ListBigQueryLinks\0228.goog"
+          + "le.analytics.admin.v1alpha.ListBigQueryL"
+          + "inksRequest\0329.google.analytics.admin.v1a"
+          + "lpha.ListBigQueryLinksResponse\"=\202\323\344\223\002.\022,"
+          + "/v1alpha/{parent=properties/*}/bigQueryL"
+          + "inks\332A\006parent\032\374\001\312A\035analyticsadmin.google"
+          + "apis.com\322A\330\001https://www.googleapis.com/a"
+          + "uth/analytics.edit,https://www.googleapi"
+          + "s.com/auth/analytics.manage.users,https:"
+          + "//www.googleapis.com/auth/analytics.mana"
+          + "ge.users.readonly,https://www.googleapis"
+          + ".com/auth/analytics.readonlyB\200\001\n\"com.goo"
+          + "gle.analytics.admin.v1alphaB\023AnalyticsAd"
+          + "minProtoP\001ZCgoogle.golang.org/genproto/g"
+          + "oogleapis/analytics/admin/v1alpha;adminb"
+          + "\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -1900,8 +2039,56 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
             new java.lang.String[] {
               "Name",
             });
-    internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor =
+    internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_descriptor =
         getDescriptor().getMessageTypes().get(74);
+    internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(75);
+    internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(76);
+    internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_descriptor,
+            new java.lang.String[] {
+              "SearchAds360Links", "NextPageToken",
+            });
+    internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_descriptor =
+        getDescriptor().getMessageTypes().get(77);
+    internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "SearchAds360Link",
+            });
+    internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_descriptor =
+        getDescriptor().getMessageTypes().get(78);
+    internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_descriptor =
+        getDescriptor().getMessageTypes().get(79);
+    internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_descriptor,
+            new java.lang.String[] {
+              "SearchAds360Link", "UpdateMask",
+            });
+    internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(80);
     internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor,
@@ -1909,7 +2096,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "CustomDimension",
             });
     internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor =
-        getDescriptor().getMessageTypes().get(75);
+        getDescriptor().getMessageTypes().get(81);
     internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor,
@@ -1917,7 +2104,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "CustomDimension", "UpdateMask",
             });
     internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(76);
+        getDescriptor().getMessageTypes().get(82);
     internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor,
@@ -1925,7 +2112,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "PageSize", "PageToken",
             });
     internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(77);
+        getDescriptor().getMessageTypes().get(83);
     internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor,
@@ -1933,7 +2120,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "CustomDimensions", "NextPageToken",
             });
     internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor =
-        getDescriptor().getMessageTypes().get(78);
+        getDescriptor().getMessageTypes().get(84);
     internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor,
@@ -1941,7 +2128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor =
-        getDescriptor().getMessageTypes().get(79);
+        getDescriptor().getMessageTypes().get(85);
     internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor,
@@ -1949,7 +2136,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor =
-        getDescriptor().getMessageTypes().get(80);
+        getDescriptor().getMessageTypes().get(86);
     internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor,
@@ -1957,7 +2144,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "CustomMetric",
             });
     internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor =
-        getDescriptor().getMessageTypes().get(81);
+        getDescriptor().getMessageTypes().get(87);
     internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor,
@@ -1965,7 +2152,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "CustomMetric", "UpdateMask",
             });
     internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(82);
+        getDescriptor().getMessageTypes().get(88);
     internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor,
@@ -1973,7 +2160,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "PageSize", "PageToken",
             });
     internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(83);
+        getDescriptor().getMessageTypes().get(89);
     internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor,
@@ -1981,7 +2168,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "CustomMetrics", "NextPageToken",
             });
     internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor =
-        getDescriptor().getMessageTypes().get(84);
+        getDescriptor().getMessageTypes().get(90);
     internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor,
@@ -1989,7 +2176,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor =
-        getDescriptor().getMessageTypes().get(85);
+        getDescriptor().getMessageTypes().get(91);
     internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor,
@@ -1997,7 +2184,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(86);
+        getDescriptor().getMessageTypes().get(92);
     internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor,
@@ -2005,7 +2192,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(87);
+        getDescriptor().getMessageTypes().get(93);
     internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor,
@@ -2013,7 +2200,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "DataRetentionSettings", "UpdateMask",
             });
     internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor =
-        getDescriptor().getMessageTypes().get(88);
+        getDescriptor().getMessageTypes().get(94);
     internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor,
@@ -2021,7 +2208,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "DataStream",
             });
     internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor =
-        getDescriptor().getMessageTypes().get(89);
+        getDescriptor().getMessageTypes().get(95);
     internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor,
@@ -2029,7 +2216,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor =
-        getDescriptor().getMessageTypes().get(90);
+        getDescriptor().getMessageTypes().get(96);
     internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor,
@@ -2037,7 +2224,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "DataStream", "UpdateMask",
             });
     internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(91);
+        getDescriptor().getMessageTypes().get(97);
     internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor,
@@ -2045,7 +2232,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "PageSize", "PageToken",
             });
     internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(92);
+        getDescriptor().getMessageTypes().get(98);
     internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor,
@@ -2053,7 +2240,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "DataStreams", "NextPageToken",
             });
     internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor =
-        getDescriptor().getMessageTypes().get(93);
+        getDescriptor().getMessageTypes().get(99);
     internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor,
@@ -2061,7 +2248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor =
-        getDescriptor().getMessageTypes().get(94);
+        getDescriptor().getMessageTypes().get(100);
     internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor,
@@ -2069,7 +2256,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor =
-        getDescriptor().getMessageTypes().get(95);
+        getDescriptor().getMessageTypes().get(101);
     internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor,
@@ -2077,7 +2264,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "PageSize", "PageToken",
             });
     internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor =
-        getDescriptor().getMessageTypes().get(96);
+        getDescriptor().getMessageTypes().get(102);
     internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor,
@@ -2085,7 +2272,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Audiences", "NextPageToken",
             });
     internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor =
-        getDescriptor().getMessageTypes().get(97);
+        getDescriptor().getMessageTypes().get(103);
     internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor,
@@ -2093,7 +2280,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "Audience",
             });
     internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor =
-        getDescriptor().getMessageTypes().get(98);
+        getDescriptor().getMessageTypes().get(104);
     internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor,
@@ -2101,7 +2288,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Audience", "UpdateMask",
             });
     internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor =
-        getDescriptor().getMessageTypes().get(99);
+        getDescriptor().getMessageTypes().get(105);
     internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor,
@@ -2109,7 +2296,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(100);
+        getDescriptor().getMessageTypes().get(106);
     internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor,
@@ -2117,13 +2304,67 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name",
             });
     internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(101);
+        getDescriptor().getMessageTypes().get(107);
     internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor,
             new java.lang.String[] {
               "AttributionSettings", "UpdateMask",
             });
+    internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_descriptor =
+        getDescriptor().getMessageTypes().get(108);
+    internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_descriptor,
+            new java.lang.String[] {
+              "Property", "OptOut",
+            });
+    internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_descriptor =
+        getDescriptor().getMessageTypes().get(109);
+    internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_descriptor,
+            new java.lang.String[] {});
+    internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_descriptor =
+        getDescriptor().getMessageTypes().get(110);
+    internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_descriptor,
+            new java.lang.String[] {
+              "Property",
+            });
+    internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_descriptor =
+        getDescriptor().getMessageTypes().get(111);
+    internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_descriptor,
+            new java.lang.String[] {
+              "OptOut",
+            });
+    internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_descriptor =
+        getDescriptor().getMessageTypes().get(112);
+    internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(113);
+    internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(114);
+    internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_descriptor,
+            new java.lang.String[] {
+              "BigqueryLinks", "NextPageToken",
+            });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.ClientProto.defaultHost);
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java
index 73db69a73654..47754e22e787 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java
@@ -783,8 +783,8 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    *
    * 
-   * Required. The lookback window configuration for acquisition conversion events.
-   * The default window size is 30 days.
+   * Required. The lookback window configuration for acquisition conversion
+   * events. The default window size is 30 days.
    * 
* * @@ -801,8 +801,8 @@ public int getAcquisitionConversionEventLookbackWindowValue() { * * *
-   * Required. The lookback window configuration for acquisition conversion events.
-   * The default window size is 30 days.
+   * Required. The lookback window configuration for acquisition conversion
+   * events. The default window size is 30 days.
    * 
* * @@ -832,8 +832,8 @@ public int getAcquisitionConversionEventLookbackWindowValue() { * * *
-   * Required. The lookback window for all other, non-acquisition conversion events.
-   * The default window size is 90 days.
+   * Required. The lookback window for all other, non-acquisition conversion
+   * events. The default window size is 90 days.
    * 
* * @@ -850,8 +850,8 @@ public int getOtherConversionEventLookbackWindowValue() { * * *
-   * Required. The lookback window for all other, non-acquisition conversion events.
-   * The default window size is 90 days.
+   * Required. The lookback window for all other, non-acquisition conversion
+   * events. The default window size is 90 days.
    * 
* * @@ -879,8 +879,8 @@ public int getOtherConversionEventLookbackWindowValue() { * * *
-   * Required. The reporting attribution model used to calculate conversion credit in this
-   * property's reports.
+   * Required. The reporting attribution model used to calculate conversion
+   * credit in this property's reports.
    * Changing the attribution model will apply to both historical and future
    * data. These changes will be reflected in reports with conversion and
    * revenue data. User and session data will be unaffected.
@@ -900,8 +900,8 @@ public int getReportingAttributionModelValue() {
    *
    *
    * 
-   * Required. The reporting attribution model used to calculate conversion credit in this
-   * property's reports.
+   * Required. The reporting attribution model used to calculate conversion
+   * credit in this property's reports.
    * Changing the attribution model will apply to both historical and future
    * data. These changes will be reflected in reports with conversion and
    * revenue data. User and session data will be unaffected.
@@ -1485,8 +1485,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Required. The lookback window configuration for acquisition conversion events.
-     * The default window size is 30 days.
+     * Required. The lookback window configuration for acquisition conversion
+     * events. The default window size is 30 days.
      * 
* * @@ -1503,8 +1503,8 @@ public int getAcquisitionConversionEventLookbackWindowValue() { * * *
-     * Required. The lookback window configuration for acquisition conversion events.
-     * The default window size is 30 days.
+     * Required. The lookback window configuration for acquisition conversion
+     * events. The default window size is 30 days.
      * 
* * @@ -1525,8 +1525,8 @@ public Builder setAcquisitionConversionEventLookbackWindowValue(int value) { * * *
-     * Required. The lookback window configuration for acquisition conversion events.
-     * The default window size is 30 days.
+     * Required. The lookback window configuration for acquisition conversion
+     * events. The default window size is 30 days.
      * 
* * @@ -1554,8 +1554,8 @@ public Builder setAcquisitionConversionEventLookbackWindowValue(int value) { * * *
-     * Required. The lookback window configuration for acquisition conversion events.
-     * The default window size is 30 days.
+     * Required. The lookback window configuration for acquisition conversion
+     * events. The default window size is 30 days.
      * 
* * @@ -1581,8 +1581,8 @@ public Builder setAcquisitionConversionEventLookbackWindow( * * *
-     * Required. The lookback window configuration for acquisition conversion events.
-     * The default window size is 30 days.
+     * Required. The lookback window configuration for acquisition conversion
+     * events. The default window size is 30 days.
      * 
* * @@ -1603,8 +1603,8 @@ public Builder clearAcquisitionConversionEventLookbackWindow() { * * *
-     * Required. The lookback window for all other, non-acquisition conversion events.
-     * The default window size is 90 days.
+     * Required. The lookback window for all other, non-acquisition conversion
+     * events. The default window size is 90 days.
      * 
* * @@ -1621,8 +1621,8 @@ public int getOtherConversionEventLookbackWindowValue() { * * *
-     * Required. The lookback window for all other, non-acquisition conversion events.
-     * The default window size is 90 days.
+     * Required. The lookback window for all other, non-acquisition conversion
+     * events. The default window size is 90 days.
      * 
* * @@ -1643,8 +1643,8 @@ public Builder setOtherConversionEventLookbackWindowValue(int value) { * * *
-     * Required. The lookback window for all other, non-acquisition conversion events.
-     * The default window size is 90 days.
+     * Required. The lookback window for all other, non-acquisition conversion
+     * events. The default window size is 90 days.
      * 
* * @@ -1670,8 +1670,8 @@ public Builder setOtherConversionEventLookbackWindowValue(int value) { * * *
-     * Required. The lookback window for all other, non-acquisition conversion events.
-     * The default window size is 90 days.
+     * Required. The lookback window for all other, non-acquisition conversion
+     * events. The default window size is 90 days.
      * 
* * @@ -1696,8 +1696,8 @@ public Builder setOtherConversionEventLookbackWindow( * * *
-     * Required. The lookback window for all other, non-acquisition conversion events.
-     * The default window size is 90 days.
+     * Required. The lookback window for all other, non-acquisition conversion
+     * events. The default window size is 90 days.
      * 
* * @@ -1718,8 +1718,8 @@ public Builder clearOtherConversionEventLookbackWindow() { * * *
-     * Required. The reporting attribution model used to calculate conversion credit in this
-     * property's reports.
+     * Required. The reporting attribution model used to calculate conversion
+     * credit in this property's reports.
      * Changing the attribution model will apply to both historical and future
      * data. These changes will be reflected in reports with conversion and
      * revenue data. User and session data will be unaffected.
@@ -1739,8 +1739,8 @@ public int getReportingAttributionModelValue() {
      *
      *
      * 
-     * Required. The reporting attribution model used to calculate conversion credit in this
-     * property's reports.
+     * Required. The reporting attribution model used to calculate conversion
+     * credit in this property's reports.
      * Changing the attribution model will apply to both historical and future
      * data. These changes will be reflected in reports with conversion and
      * revenue data. User and session data will be unaffected.
@@ -1763,8 +1763,8 @@ public Builder setReportingAttributionModelValue(int value) {
      *
      *
      * 
-     * Required. The reporting attribution model used to calculate conversion credit in this
-     * property's reports.
+     * Required. The reporting attribution model used to calculate conversion
+     * credit in this property's reports.
      * Changing the attribution model will apply to both historical and future
      * data. These changes will be reflected in reports with conversion and
      * revenue data. User and session data will be unaffected.
@@ -1791,8 +1791,8 @@ public Builder setReportingAttributionModelValue(int value) {
      *
      *
      * 
-     * Required. The reporting attribution model used to calculate conversion credit in this
-     * property's reports.
+     * Required. The reporting attribution model used to calculate conversion
+     * credit in this property's reports.
      * Changing the attribution model will apply to both historical and future
      * data. These changes will be reflected in reports with conversion and
      * revenue data. User and session data will be unaffected.
@@ -1819,8 +1819,8 @@ public Builder setReportingAttributionModel(
      *
      *
      * 
-     * Required. The reporting attribution model used to calculate conversion credit in this
-     * property's reports.
+     * Required. The reporting attribution model used to calculate conversion
+     * credit in this property's reports.
      * Changing the attribution model will apply to both historical and future
      * data. These changes will be reflected in reports with conversion and
      * revenue data. User and session data will be unaffected.
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java
index 2abc0d522871..903141020ef6 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java
@@ -56,8 +56,8 @@ public interface AttributionSettingsOrBuilder
    *
    *
    * 
-   * Required. The lookback window configuration for acquisition conversion events.
-   * The default window size is 30 days.
+   * Required. The lookback window configuration for acquisition conversion
+   * events. The default window size is 30 days.
    * 
* * @@ -71,8 +71,8 @@ public interface AttributionSettingsOrBuilder * * *
-   * Required. The lookback window configuration for acquisition conversion events.
-   * The default window size is 30 days.
+   * Required. The lookback window configuration for acquisition conversion
+   * events. The default window size is 30 days.
    * 
* * @@ -88,8 +88,8 @@ public interface AttributionSettingsOrBuilder * * *
-   * Required. The lookback window for all other, non-acquisition conversion events.
-   * The default window size is 90 days.
+   * Required. The lookback window for all other, non-acquisition conversion
+   * events. The default window size is 90 days.
    * 
* * @@ -103,8 +103,8 @@ public interface AttributionSettingsOrBuilder * * *
-   * Required. The lookback window for all other, non-acquisition conversion events.
-   * The default window size is 90 days.
+   * Required. The lookback window for all other, non-acquisition conversion
+   * events. The default window size is 90 days.
    * 
* * @@ -120,8 +120,8 @@ public interface AttributionSettingsOrBuilder * * *
-   * Required. The reporting attribution model used to calculate conversion credit in this
-   * property's reports.
+   * Required. The reporting attribution model used to calculate conversion
+   * credit in this property's reports.
    * Changing the attribution model will apply to both historical and future
    * data. These changes will be reflected in reports with conversion and
    * revenue data. User and session data will be unaffected.
@@ -138,8 +138,8 @@ public interface AttributionSettingsOrBuilder
    *
    *
    * 
-   * Required. The reporting attribution model used to calculate conversion credit in this
-   * property's reports.
+   * Required. The reporting attribution model used to calculate conversion
+   * credit in this property's reports.
    * Changing the attribution model will apply to both historical and future
    * data. These changes will be reflected in reports with conversion and
    * revenue data. User and session data will be unaffected.
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java
index 9f5e82d18611..90719e099779 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java
@@ -395,8 +395,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    *
    *
    * 
-   * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
-   * than 540 days.
+   * Required. Immutable. The duration a user should stay in an Audience. It
+   * cannot be set to more than 540 days.
    * 
* * @@ -416,8 +416,8 @@ public int getMembershipDurationDays() { * * *
-   * Output only. It is automatically set by GA to false if this is an NPA Audience and is
-   * excluded from ads personalization.
+   * Output only. It is automatically set by GA to false if this is an NPA
+   * Audience and is excluded from ads personalization.
    * 
* * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -435,8 +435,8 @@ public boolean getAdsPersonalizationEnabled() { * * *
-   * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-   * event is logged when a user joins the Audience.
+   * Optional. Specifies an event to log when a user joins the Audience. If not
+   * set, no event is logged when a user joins the Audience.
    * 
* * @@ -453,8 +453,8 @@ public boolean hasEventTrigger() { * * *
-   * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-   * event is logged when a user joins the Audience.
+   * Optional. Specifies an event to log when a user joins the Audience. If not
+   * set, no event is logged when a user joins the Audience.
    * 
* * @@ -473,8 +473,8 @@ public com.google.analytics.admin.v1alpha.AudienceEventTrigger getEventTrigger() * * *
-   * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-   * event is logged when a user joins the Audience.
+   * Optional. Specifies an event to log when a user joins the Audience. If not
+   * set, no event is logged when a user joins the Audience.
    * 
* * @@ -495,9 +495,9 @@ public com.google.analytics.admin.v1alpha.AudienceEventTrigger getEventTrigger() * * *
-   * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-   * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-   * there is no EXCLUDE filter clause in the Audience.
+   * Immutable. Specifies how long an exclusion lasts for users that meet the
+   * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+   * ignored when there is no EXCLUDE filter clause in the Audience.
    * 
* * @@ -514,9 +514,9 @@ public int getExclusionDurationModeValue() { * * *
-   * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-   * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-   * there is no EXCLUDE filter clause in the Audience.
+   * Immutable. Specifies how long an exclusion lasts for users that meet the
+   * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+   * ignored when there is no EXCLUDE filter clause in the Audience.
    * 
* * @@ -544,8 +544,8 @@ public int getExclusionDurationModeValue() { * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -561,8 +561,8 @@ public int getExclusionDurationModeValue() { * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -578,8 +578,8 @@ public int getExclusionDurationModeValue() { * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -594,8 +594,8 @@ public int getFilterClausesCount() { * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -610,8 +610,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses( * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -1517,8 +1517,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
-     * than 540 days.
+     * Required. Immutable. The duration a user should stay in an Audience. It
+     * cannot be set to more than 540 days.
      * 
* * @@ -1535,8 +1535,8 @@ public int getMembershipDurationDays() { * * *
-     * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
-     * than 540 days.
+     * Required. Immutable. The duration a user should stay in an Audience. It
+     * cannot be set to more than 540 days.
      * 
* * @@ -1557,8 +1557,8 @@ public Builder setMembershipDurationDays(int value) { * * *
-     * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
-     * than 540 days.
+     * Required. Immutable. The duration a user should stay in an Audience. It
+     * cannot be set to more than 540 days.
      * 
* * @@ -1579,8 +1579,8 @@ public Builder clearMembershipDurationDays() { * * *
-     * Output only. It is automatically set by GA to false if this is an NPA Audience and is
-     * excluded from ads personalization.
+     * Output only. It is automatically set by GA to false if this is an NPA
+     * Audience and is excluded from ads personalization.
      * 
* * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1596,8 +1596,8 @@ public boolean getAdsPersonalizationEnabled() { * * *
-     * Output only. It is automatically set by GA to false if this is an NPA Audience and is
-     * excluded from ads personalization.
+     * Output only. It is automatically set by GA to false if this is an NPA
+     * Audience and is excluded from ads personalization.
      * 
* * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1617,8 +1617,8 @@ public Builder setAdsPersonalizationEnabled(boolean value) { * * *
-     * Output only. It is automatically set by GA to false if this is an NPA Audience and is
-     * excluded from ads personalization.
+     * Output only. It is automatically set by GA to false if this is an NPA
+     * Audience and is excluded from ads personalization.
      * 
* * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1643,8 +1643,8 @@ public Builder clearAdsPersonalizationEnabled() { * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1660,8 +1660,8 @@ public boolean hasEventTrigger() { * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1683,8 +1683,8 @@ public com.google.analytics.admin.v1alpha.AudienceEventTrigger getEventTrigger() * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1708,8 +1708,8 @@ public Builder setEventTrigger(com.google.analytics.admin.v1alpha.AudienceEventT * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1731,8 +1731,8 @@ public Builder setEventTrigger( * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1761,8 +1761,8 @@ public Builder mergeEventTrigger( * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1783,8 +1783,8 @@ public Builder clearEventTrigger() { * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1801,8 +1801,8 @@ public Builder clearEventTrigger() { * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1823,8 +1823,8 @@ public Builder clearEventTrigger() { * * *
-     * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-     * event is logged when a user joins the Audience.
+     * Optional. Specifies an event to log when a user joins the Audience. If not
+     * set, no event is logged when a user joins the Audience.
      * 
* * @@ -1853,9 +1853,9 @@ public Builder clearEventTrigger() { * * *
-     * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-     * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-     * there is no EXCLUDE filter clause in the Audience.
+     * Immutable. Specifies how long an exclusion lasts for users that meet the
+     * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+     * ignored when there is no EXCLUDE filter clause in the Audience.
      * 
* * @@ -1872,9 +1872,9 @@ public int getExclusionDurationModeValue() { * * *
-     * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-     * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-     * there is no EXCLUDE filter clause in the Audience.
+     * Immutable. Specifies how long an exclusion lasts for users that meet the
+     * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+     * ignored when there is no EXCLUDE filter clause in the Audience.
      * 
* * @@ -1894,9 +1894,9 @@ public Builder setExclusionDurationModeValue(int value) { * * *
-     * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-     * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-     * there is no EXCLUDE filter clause in the Audience.
+     * Immutable. Specifies how long an exclusion lasts for users that meet the
+     * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+     * ignored when there is no EXCLUDE filter clause in the Audience.
      * 
* * @@ -1919,9 +1919,9 @@ public Builder setExclusionDurationModeValue(int value) { * * *
-     * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-     * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-     * there is no EXCLUDE filter clause in the Audience.
+     * Immutable. Specifies how long an exclusion lasts for users that meet the
+     * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+     * ignored when there is no EXCLUDE filter clause in the Audience.
      * 
* * @@ -1945,9 +1945,9 @@ public Builder setExclusionDurationMode( * * *
-     * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-     * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-     * there is no EXCLUDE filter clause in the Audience.
+     * Immutable. Specifies how long an exclusion lasts for users that meet the
+     * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+     * ignored when there is no EXCLUDE filter clause in the Audience.
      * 
* * @@ -1985,8 +1985,8 @@ private void ensureFilterClausesIsMutable() { * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2005,8 +2005,8 @@ private void ensureFilterClausesIsMutable() { * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2024,8 +2024,8 @@ public int getFilterClausesCount() { * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2043,8 +2043,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses( * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2069,8 +2069,8 @@ public Builder setFilterClauses( * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2093,8 +2093,8 @@ public Builder setFilterClauses( * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2118,8 +2118,8 @@ public Builder addFilterClauses(com.google.analytics.admin.v1alpha.AudienceFilte * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2144,8 +2144,8 @@ public Builder addFilterClauses( * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2167,8 +2167,8 @@ public Builder addFilterClauses( * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2191,8 +2191,8 @@ public Builder addFilterClauses( * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2215,8 +2215,8 @@ public Builder addAllFilterClauses( * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2237,8 +2237,8 @@ public Builder clearFilterClauses() { * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2259,8 +2259,8 @@ public Builder removeFilterClauses(int index) { * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2275,8 +2275,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder getFilter * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2295,8 +2295,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder getFilter * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2316,8 +2316,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder getFilter * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2333,8 +2333,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder getFilter * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * @@ -2351,8 +2351,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder addFilter * * *
-     * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-     * together.
+     * Required. Immutable. Unordered list. Filter clauses that define the
+     * Audience. All clauses will be AND’ed together.
      * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java index 519b2b369a99..022daafa7a48 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java @@ -265,16 +265,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { * FULL_REGEXP = 5; */ FULL_REGEXP(5), - /** - * - * - *
-       * Partial regular expression matches with the string value.
-       * 
- * - * PARTIAL_REGEXP = 6; - */ - PARTIAL_REGEXP(6), UNRECOGNIZED(-1), ; @@ -338,16 +328,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { * FULL_REGEXP = 5; */ public static final int FULL_REGEXP_VALUE = 5; - /** - * - * - *
-       * Partial regular expression matches with the string value.
-       * 
- * - * PARTIAL_REGEXP = 6; - */ - public static final int PARTIAL_REGEXP_VALUE = 6; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -385,8 +365,6 @@ public static MatchType forNumber(int value) { return CONTAINS; case 5: return FULL_REGEXP; - case 6: - return PARTIAL_REGEXP; default: return null; } @@ -1329,7 +1307,8 @@ public interface InListFilterOrBuilder * * *
-     * Required. The list of possible string values to match against. Must be non-empty.
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1341,7 +1320,8 @@ public interface InListFilterOrBuilder * * *
-     * Required. The list of possible string values to match against. Must be non-empty.
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1353,7 +1333,8 @@ public interface InListFilterOrBuilder * * *
-     * Required. The list of possible string values to match against. Must be non-empty.
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1366,7 +1347,8 @@ public interface InListFilterOrBuilder * * *
-     * Required. The list of possible string values to match against. Must be non-empty.
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1449,7 +1431,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Required. The list of possible string values to match against. Must be non-empty.
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1463,7 +1446,8 @@ public com.google.protobuf.ProtocolStringList getValuesList() { * * *
-     * Required. The list of possible string values to match against. Must be non-empty.
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1477,7 +1461,8 @@ public int getValuesCount() { * * *
-     * Required. The list of possible string values to match against. Must be non-empty.
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1492,7 +1477,8 @@ public java.lang.String getValues(int index) { * * *
-     * Required. The list of possible string values to match against. Must be non-empty.
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
      * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1951,7 +1937,8 @@ private void ensureValuesIsMutable() { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1965,7 +1952,8 @@ public com.google.protobuf.ProtocolStringList getValuesList() { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1979,7 +1967,8 @@ public int getValuesCount() { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1994,7 +1983,8 @@ public java.lang.String getValues(int index) { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2009,7 +1999,8 @@ public com.google.protobuf.ByteString getValuesBytes(int index) { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2031,7 +2022,8 @@ public Builder setValues(int index, java.lang.String value) { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2052,7 +2044,8 @@ public Builder addValues(java.lang.String value) { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2070,7 +2063,8 @@ public Builder addAllValues(java.lang.Iterable values) { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2087,7 +2081,8 @@ public Builder clearValues() { * * *
-       * Required. The list of possible string values to match against. Must be non-empty.
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
        * 
* * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -3277,16 +3272,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { * LESS_THAN = 2; */ LESS_THAN(2), - /** - * - * - *
-       * Less than or equal.
-       * 
- * - * LESS_THAN_OR_EQUAL = 3; - */ - LESS_THAN_OR_EQUAL(3), /** * * @@ -3297,16 +3282,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { * GREATER_THAN = 4; */ GREATER_THAN(4), - /** - * - * - *
-       * Greater than or equal.
-       * 
- * - * GREATER_THAN_OR_EQUAL = 5; - */ - GREATER_THAN_OR_EQUAL(5), UNRECOGNIZED(-1), ; @@ -3340,16 +3315,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { * 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; /** * * @@ -3360,16 +3325,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { * 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) { @@ -3401,12 +3356,8 @@ public static Operation forNumber(int value) { 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; } @@ -5927,8 +5878,8 @@ public com.google.protobuf.ByteString getFieldNameBytes() { * * *
-   * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
-   * true, users join the Audience if they ever met the condition (static
+   * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+   * set to true, users join the Audience if they ever met the condition (static
    * evaluation). If unset or set to false, user evaluation for an Audience is
    * dynamic; users are added to an Audience when they meet the conditions and
    * then removed when they no longer meet them.
@@ -5950,9 +5901,9 @@ public boolean getAtAnyPointInTime() {
    *
    *
    * 
-   * Optional. If set, specifies the time window for which to evaluate data in number of
-   * days. If not set, then audience data is evaluated against lifetime data
-   * (i.e., infinite time window).
+   * Optional. If set, specifies the time window for which to evaluate data in
+   * number of days. If not set, then audience data is evaluated against
+   * lifetime data (i.e., infinite time window).
    * For example, if set to 1 day, only the current day's data is evaluated. The
    * reference point is the current day when at_any_point_in_time is unset or
    * false.
@@ -7693,8 +7644,8 @@ public Builder setFieldNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
-     * true, users join the Audience if they ever met the condition (static
+     * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+     * set to true, users join the Audience if they ever met the condition (static
      * evaluation). If unset or set to false, user evaluation for an Audience is
      * dynamic; users are added to an Audience when they meet the conditions and
      * then removed when they no longer meet them.
@@ -7713,8 +7664,8 @@ public boolean getAtAnyPointInTime() {
      *
      *
      * 
-     * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
-     * true, users join the Audience if they ever met the condition (static
+     * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+     * set to true, users join the Audience if they ever met the condition (static
      * evaluation). If unset or set to false, user evaluation for an Audience is
      * dynamic; users are added to an Audience when they meet the conditions and
      * then removed when they no longer meet them.
@@ -7737,8 +7688,8 @@ public Builder setAtAnyPointInTime(boolean value) {
      *
      *
      * 
-     * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
-     * true, users join the Audience if they ever met the condition (static
+     * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+     * set to true, users join the Audience if they ever met the condition (static
      * evaluation). If unset or set to false, user evaluation for an Audience is
      * dynamic; users are added to an Audience when they meet the conditions and
      * then removed when they no longer meet them.
@@ -7761,9 +7712,9 @@ public Builder clearAtAnyPointInTime() {
      *
      *
      * 
-     * Optional. If set, specifies the time window for which to evaluate data in number of
-     * days. If not set, then audience data is evaluated against lifetime data
-     * (i.e., infinite time window).
+     * Optional. If set, specifies the time window for which to evaluate data in
+     * number of days. If not set, then audience data is evaluated against
+     * lifetime data (i.e., infinite time window).
      * For example, if set to 1 day, only the current day's data is evaluated. The
      * reference point is the current day when at_any_point_in_time is unset or
      * false.
@@ -7783,9 +7734,9 @@ public int getInAnyNDayPeriod() {
      *
      *
      * 
-     * Optional. If set, specifies the time window for which to evaluate data in number of
-     * days. If not set, then audience data is evaluated against lifetime data
-     * (i.e., infinite time window).
+     * Optional. If set, specifies the time window for which to evaluate data in
+     * number of days. If not set, then audience data is evaluated against
+     * lifetime data (i.e., infinite time window).
      * For example, if set to 1 day, only the current day's data is evaluated. The
      * reference point is the current day when at_any_point_in_time is unset or
      * false.
@@ -7809,9 +7760,9 @@ public Builder setInAnyNDayPeriod(int value) {
      *
      *
      * 
-     * Optional. If set, specifies the time window for which to evaluate data in number of
-     * days. If not set, then audience data is evaluated against lifetime data
-     * (i.e., infinite time window).
+     * Optional. If set, specifies the time window for which to evaluate data in
+     * number of days. If not set, then audience data is evaluated against
+     * lifetime data (i.e., infinite time window).
      * For example, if set to 1 day, only the current day's data is evaluated. The
      * reference point is the current day when at_any_point_in_time is unset or
      * false.
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java
index 6e04c71f5d85..077e30ffcc0d 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java
@@ -232,8 +232,8 @@ public interface AudienceDimensionOrMetricFilterOrBuilder
    *
    *
    * 
-   * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
-   * true, users join the Audience if they ever met the condition (static
+   * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+   * set to true, users join the Audience if they ever met the condition (static
    * evaluation). If unset or set to false, user evaluation for an Audience is
    * dynamic; users are added to an Audience when they meet the conditions and
    * then removed when they no longer meet them.
@@ -250,9 +250,9 @@ public interface AudienceDimensionOrMetricFilterOrBuilder
    *
    *
    * 
-   * Optional. If set, specifies the time window for which to evaluate data in number of
-   * days. If not set, then audience data is evaluated against lifetime data
-   * (i.e., infinite time window).
+   * Optional. If set, specifies the time window for which to evaluate data in
+   * number of days. If not set, then audience data is evaluated against
+   * lifetime data (i.e., infinite time window).
    * For example, if set to 1 day, only the current day's data is evaluated. The
    * reference point is the current day when at_any_point_in_time is unset or
    * false.
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java
index 65e29857decf..d7f64b0fd3f4 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java
@@ -131,8 +131,8 @@ public com.google.protobuf.ByteString getEventNameBytes() {
    *
    *
    * 
-   * Optional. If specified, this filter matches events that match both the single
-   * event name and the parameter filter expressions. AudienceEventFilter
+   * Optional. If specified, this filter matches events that match both the
+   * single event name and the parameter filter expressions. AudienceEventFilter
    * inside the parameter filter expression cannot be set (i.e., nested
    * event filters are not supported). This should be a single and_group of
    * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -154,8 +154,8 @@ public boolean hasEventParameterFilterExpression() {
    *
    *
    * 
-   * Optional. If specified, this filter matches events that match both the single
-   * event name and the parameter filter expressions. AudienceEventFilter
+   * Optional. If specified, this filter matches events that match both the
+   * single event name and the parameter filter expressions. AudienceEventFilter
    * inside the parameter filter expression cannot be set (i.e., nested
    * event filters are not supported). This should be a single and_group of
    * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -180,8 +180,8 @@ public boolean hasEventParameterFilterExpression() {
    *
    *
    * 
-   * Optional. If specified, this filter matches events that match both the single
-   * event name and the parameter filter expressions. AudienceEventFilter
+   * Optional. If specified, this filter matches events that match both the
+   * single event name and the parameter filter expressions. AudienceEventFilter
    * inside the parameter filter expression cannot be set (i.e., nested
    * event filters are not supported). This should be a single and_group of
    * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -713,8 +713,8 @@ public Builder setEventNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -735,8 +735,8 @@ public boolean hasEventParameterFilterExpression() {
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -764,8 +764,8 @@ public boolean hasEventParameterFilterExpression() {
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -795,8 +795,8 @@ public Builder setEventParameterFilterExpression(
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -823,8 +823,8 @@ public Builder setEventParameterFilterExpression(
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -859,8 +859,8 @@ public Builder mergeEventParameterFilterExpression(
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -886,8 +886,8 @@ public Builder clearEventParameterFilterExpression() {
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -909,8 +909,8 @@ public Builder clearEventParameterFilterExpression() {
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -936,8 +936,8 @@ public Builder clearEventParameterFilterExpression() {
      *
      *
      * 
-     * Optional. If specified, this filter matches events that match both the single
-     * event name and the parameter filter expressions. AudienceEventFilter
+     * Optional. If specified, this filter matches events that match both the
+     * single event name and the parameter filter expressions. AudienceEventFilter
      * inside the parameter filter expression cannot be set (i.e., nested
      * event filters are not supported). This should be a single and_group of
      * dimension_or_metric_filter or not_expression; ANDs of ORs are not
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java
index 1725afaacb1a..86d02a2faad2 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java
@@ -56,8 +56,8 @@ public interface AudienceEventFilterOrBuilder
    *
    *
    * 
-   * Optional. If specified, this filter matches events that match both the single
-   * event name and the parameter filter expressions. AudienceEventFilter
+   * Optional. If specified, this filter matches events that match both the
+   * single event name and the parameter filter expressions. AudienceEventFilter
    * inside the parameter filter expression cannot be set (i.e., nested
    * event filters are not supported). This should be a single and_group of
    * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -76,8 +76,8 @@ public interface AudienceEventFilterOrBuilder
    *
    *
    * 
-   * Optional. If specified, this filter matches events that match both the single
-   * event name and the parameter filter expressions. AudienceEventFilter
+   * Optional. If specified, this filter matches events that match both the
+   * single event name and the parameter filter expressions. AudienceEventFilter
    * inside the parameter filter expression cannot be set (i.e., nested
    * event filters are not supported). This should be a single and_group of
    * dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -96,8 +96,8 @@ public interface AudienceEventFilterOrBuilder
    *
    *
    * 
-   * Optional. If specified, this filter matches events that match both the single
-   * event name and the parameter filter expressions. AudienceEventFilter
+   * Optional. If specified, this filter matches events that match both the
+   * single event name and the parameter filter expressions. AudienceEventFilter
    * inside the parameter filter expression cannot be set (i.e., nested
    * event filters are not supported). This should be a single and_group of
    * dimension_or_metric_filter or not_expression; ANDs of ORs are not
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java
index 9fe4d5443e74..a2d030ce3a17 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java
@@ -104,8 +104,8 @@ public interface AudienceOrBuilder
    *
    *
    * 
-   * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
-   * than 540 days.
+   * Required. Immutable. The duration a user should stay in an Audience. It
+   * cannot be set to more than 540 days.
    * 
* * @@ -120,8 +120,8 @@ public interface AudienceOrBuilder * * *
-   * Output only. It is automatically set by GA to false if this is an NPA Audience and is
-   * excluded from ads personalization.
+   * Output only. It is automatically set by GA to false if this is an NPA
+   * Audience and is excluded from ads personalization.
    * 
* * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -134,8 +134,8 @@ public interface AudienceOrBuilder * * *
-   * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-   * event is logged when a user joins the Audience.
+   * Optional. Specifies an event to log when a user joins the Audience. If not
+   * set, no event is logged when a user joins the Audience.
    * 
* * @@ -149,8 +149,8 @@ public interface AudienceOrBuilder * * *
-   * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-   * event is logged when a user joins the Audience.
+   * Optional. Specifies an event to log when a user joins the Audience. If not
+   * set, no event is logged when a user joins the Audience.
    * 
* * @@ -164,8 +164,8 @@ public interface AudienceOrBuilder * * *
-   * Optional. Specifies an event to log when a user joins the Audience. If not set, no
-   * event is logged when a user joins the Audience.
+   * Optional. Specifies an event to log when a user joins the Audience. If not
+   * set, no event is logged when a user joins the Audience.
    * 
* * @@ -178,9 +178,9 @@ public interface AudienceOrBuilder * * *
-   * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-   * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-   * there is no EXCLUDE filter clause in the Audience.
+   * Immutable. Specifies how long an exclusion lasts for users that meet the
+   * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+   * ignored when there is no EXCLUDE filter clause in the Audience.
    * 
* * @@ -194,9 +194,9 @@ public interface AudienceOrBuilder * * *
-   * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
-   * filter. It is applied to all EXCLUDE filter clauses and is ignored when
-   * there is no EXCLUDE filter clause in the Audience.
+   * Immutable. Specifies how long an exclusion lasts for users that meet the
+   * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+   * ignored when there is no EXCLUDE filter clause in the Audience.
    * 
* * @@ -212,8 +212,8 @@ public interface AudienceOrBuilder * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -225,8 +225,8 @@ public interface AudienceOrBuilder * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -238,8 +238,8 @@ public interface AudienceOrBuilder * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -251,8 +251,8 @@ public interface AudienceOrBuilder * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * @@ -265,8 +265,8 @@ public interface AudienceOrBuilder * * *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
    * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java index 9e9ce4dca0a6..dbf471367f12 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java @@ -100,7 +100,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.proto\022\036google.analytics.admin.v1alpha\032" + "\037google/api/field_behavior.proto\032\031google" + "/api/resource.proto\032\036google/protobuf/dur" - + "ation.proto\"\305\014\n\037AudienceDimensionOrMetri" + + "ation.proto\"\374\013\n\037AudienceDimensionOrMetri" + "cFilter\022e\n\rstring_filter\030\002 \001(\0132L.google." + "analytics.admin.v1alpha.AudienceDimensio" + "nOrMetricFilter.StringFilterH\000\022f\n\016in_lis" @@ -114,111 +114,110 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "icFilter.BetweenFilterH\000\022\032\n\nfield_name\030\001" + " \001(\tB\006\340A\002\340A\005\022!\n\024at_any_point_in_time\030\006 \001" + "(\010B\003\340A\001\022 \n\023in_any_n_day_period\030\007 \001(\005B\003\340A" - + "\001\032\270\002\n\014StringFilter\022o\n\nmatch_type\030\001 \001(\0162V" + + "\001\032\243\002\n\014StringFilter\022o\n\nmatch_type\030\001 \001(\0162V" + ".google.analytics.admin.v1alpha.Audience" + "DimensionOrMetricFilter.StringFilter.Mat" + "chTypeB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002\022\033\n\016case_" - + "sensitive\030\003 \001(\010B\003\340A\001\"\205\001\n\tMatchType\022\032\n\026MA" - + "TCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013BEG" - + "INS_WITH\020\002\022\r\n\tENDS_WITH\020\003\022\014\n\010CONTAINS\020\004\022" - + "\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTIAL_REGEXP\020\006\032@\n\014" - + "InListFilter\022\023\n\006values\030\001 \003(\tB\003\340A\002\022\033\n\016cas" - + "e_sensitive\030\002 \001(\010B\003\340A\001\032J\n\014NumericValue\022\025" - + "\n\013int64_value\030\001 \001(\003H\000\022\026\n\014double_value\030\002 " - + "\001(\001H\000B\013\n\tone_value\032\352\002\n\rNumericFilter\022o\n\t" - + "operation\030\001 \001(\0162W.google.analytics.admin" - + ".v1alpha.AudienceDimensionOrMetricFilter" - + ".NumericFilter.OperationB\003\340A\002\022`\n\005value\030\002" - + " \001(\0132L.google.analytics.admin.v1alpha.Au" - + "dienceDimensionOrMetricFilter.NumericVal" - + "ueB\003\340A\002\"\205\001\n\tOperation\022\031\n\025OPERATION_UNSPE" - + "CIFIED\020\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n\022LE" - + "SS_THAN_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022\031\n\025" - + "GREATER_THAN_OR_EQUAL\020\005\032\333\001\n\rBetweenFilte" - + "r\022e\n\nfrom_value\030\001 \001(\0132L.google.analytics" - + ".admin.v1alpha.AudienceDimensionOrMetric" - + "Filter.NumericValueB\003\340A\002\022c\n\010to_value\030\002 \001" - + "(\0132L.google.analytics.admin.v1alpha.Audi" - + "enceDimensionOrMetricFilter.NumericValue" - + "B\003\340A\002B\014\n\none_filter\"\233\001\n\023AudienceEventFil" - + "ter\022\032\n\nevent_name\030\001 \001(\tB\006\340A\002\340A\005\022h\n!event" - + "_parameter_filter_expression\030\002 \001(\01328.goo" + + "sensitive\030\003 \001(\010B\003\340A\001\"q\n\tMatchType\022\032\n\026MAT" + + "CH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013BEGI" + + "NS_WITH\020\002\022\r\n\tENDS_WITH\020\003\022\014\n\010CONTAINS\020\004\022\017" + + "\n\013FULL_REGEXP\020\005\032@\n\014InListFilter\022\023\n\006value" + + "s\030\001 \003(\tB\003\340A\002\022\033\n\016case_sensitive\030\002 \001(\010B\003\340A" + + "\001\032J\n\014NumericValue\022\025\n\013int64_value\030\001 \001(\003H\000" + + "\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone_value\032\266\002" + + "\n\rNumericFilter\022o\n\toperation\030\001 \001(\0162W.goo" + + "gle.analytics.admin.v1alpha.AudienceDime" + + "nsionOrMetricFilter.NumericFilter.Operat" + + "ionB\003\340A\002\022`\n\005value\030\002 \001(\0132L.google.analyti" + + "cs.admin.v1alpha.AudienceDimensionOrMetr" + + "icFilter.NumericValueB\003\340A\002\"R\n\tOperation\022" + + "\031\n\025OPERATION_UNSPECIFIED\020\000\022\t\n\005EQUAL\020\001\022\r\n" + + "\tLESS_THAN\020\002\022\020\n\014GREATER_THAN\020\004\032\333\001\n\rBetwe" + + "enFilter\022e\n\nfrom_value\030\001 \001(\0132L.google.an" + + "alytics.admin.v1alpha.AudienceDimensionO" + + "rMetricFilter.NumericValueB\003\340A\002\022c\n\010to_va" + + "lue\030\002 \001(\0132L.google.analytics.admin.v1alp" + + "ha.AudienceDimensionOrMetricFilter.Numer" + + "icValueB\003\340A\002B\014\n\none_filter\"\233\001\n\023AudienceE" + + "ventFilter\022\032\n\nevent_name\030\001 \001(\tB\006\340A\002\340A\005\022h" + + "\n!event_parameter_filter_expression\030\002 \001(" + + "\01328.google.analytics.admin.v1alpha.Audie" + + "nceFilterExpressionB\003\340A\001\"\317\003\n\030AudienceFil" + + "terExpression\022Q\n\tand_group\030\001 \001(\0132<.googl" + + "e.analytics.admin.v1alpha.AudienceFilter" + + "ExpressionListH\000\022P\n\010or_group\030\002 \001(\0132<.goo" + "gle.analytics.admin.v1alpha.AudienceFilt" - + "erExpressionB\003\340A\001\"\317\003\n\030AudienceFilterExpr" - + "ession\022Q\n\tand_group\030\001 \001(\0132<.google.analy" - + "tics.admin.v1alpha.AudienceFilterExpress" - + "ionListH\000\022P\n\010or_group\030\002 \001(\0132<.google.ana" - + "lytics.admin.v1alpha.AudienceFilterExpre" - + "ssionListH\000\022R\n\016not_expression\030\003 \001(\01328.go" - + "ogle.analytics.admin.v1alpha.AudienceFil" - + "terExpressionH\000\022e\n\032dimension_or_metric_f" - + "ilter\030\004 \001(\0132?.google.analytics.admin.v1a" - + "lpha.AudienceDimensionOrMetricFilterH\000\022K" - + "\n\014event_filter\030\005 \001(\01323.google.analytics." - + "admin.v1alpha.AudienceEventFilterH\000B\006\n\004e" - + "xpr\"t\n\034AudienceFilterExpressionList\022T\n\022f" - + "ilter_expressions\030\001 \003(\01328.google.analyti" - + "cs.admin.v1alpha.AudienceFilterExpressio" - + "n\"\277\001\n\024AudienceSimpleFilter\022J\n\005scope\030\001 \001(" - + "\01623.google.analytics.admin.v1alpha.Audie" - + "nceFilterScopeB\006\340A\002\340A\005\022[\n\021filter_express" - + "ion\030\002 \001(\01328.google.analytics.admin.v1alp" - + "ha.AudienceFilterExpressionB\006\340A\002\340A\005\"\262\004\n\026" - + "AudienceSequenceFilter\022J\n\005scope\030\001 \001(\01623." - + "google.analytics.admin.v1alpha.AudienceF" - + "ilterScopeB\006\340A\002\340A\005\022A\n\031sequence_maximum_d" - + "uration\030\002 \001(\0132\031.google.protobuf.Duration" - + "B\003\340A\001\022h\n\016sequence_steps\030\003 \003(\0132K.google.a" - + "nalytics.admin.v1alpha.AudienceSequenceF" - + "ilter.AudienceSequenceStepB\003\340A\002\032\236\002\n\024Audi" - + "enceSequenceStep\022J\n\005scope\030\001 \001(\01623.google" - + ".analytics.admin.v1alpha.AudienceFilterS" - + "copeB\006\340A\002\340A\005\022 \n\023immediately_follows\030\002 \001(" - + "\010B\003\340A\001\022;\n\023constraint_duration\030\003 \001(\0132\031.go" - + "ogle.protobuf.DurationB\003\340A\001\022[\n\021filter_ex" - + "pression\030\004 \001(\01328.google.analytics.admin." - + "v1alpha.AudienceFilterExpressionB\006\340A\002\340A\005" - + "\"\373\002\n\024AudienceFilterClause\022M\n\rsimple_filt" - + "er\030\002 \001(\01324.google.analytics.admin.v1alph" - + "a.AudienceSimpleFilterH\000\022Q\n\017sequence_fil" - + "ter\030\003 \001(\01326.google.analytics.admin.v1alp" - + "ha.AudienceSequenceFilterH\000\022a\n\013clause_ty" - + "pe\030\001 \001(\0162G.google.analytics.admin.v1alph" - + "a.AudienceFilterClause.AudienceClauseTyp" - + "eB\003\340A\002\"T\n\022AudienceClauseType\022$\n AUDIENCE" - + "_CLAUSE_TYPE_UNSPECIFIED\020\000\022\013\n\007INCLUDE\020\001\022" - + "\013\n\007EXCLUDE\020\002B\010\n\006filter\"\363\001\n\024AudienceEvent" - + "Trigger\022\027\n\nevent_name\030\001 \001(\tB\003\340A\002\022]\n\rlog_" - + "condition\030\002 \001(\0162A.google.analytics.admin" - + ".v1alpha.AudienceEventTrigger.LogConditi" - + "onB\003\340A\002\"c\n\014LogCondition\022\035\n\031LOG_CONDITION" - + "_UNSPECIFIED\020\000\022\023\n\017AUDIENCE_JOINED\020\001\022\037\n\033A" - + "UDIENCE_MEMBERSHIP_RENEWED\020\002\"\236\005\n\010Audienc" - + "e\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001" - + "(\tB\003\340A\002\022\030\n\013description\030\003 \001(\tB\003\340A\002\022(\n\030mem" - + "bership_duration_days\030\004 \001(\005B\006\340A\002\340A\005\022(\n\033a" - + "ds_personalization_enabled\030\005 \001(\010B\003\340A\003\022P\n" - + "\revent_trigger\030\006 \001(\01324.google.analytics." - + "admin.v1alpha.AudienceEventTriggerB\003\340A\001\022" - + "l\n\027exclusion_duration_mode\030\007 \001(\0162F.googl" - + "e.analytics.admin.v1alpha.Audience.Audie" - + "nceExclusionDurationModeB\003\340A\005\022W\n\016filter_" - + "clauses\030\010 \003(\01324.google.analytics.admin.v" - + "1alpha.AudienceFilterClauseB\t\340A\005\340A\002\340A\006\"\203" - + "\001\n\035AudienceExclusionDurationMode\0220\n,AUDI" - + "ENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED" - + "\020\000\022\027\n\023EXCLUDE_TEMPORARILY\020\001\022\027\n\023EXCLUDE_P" - + "ERMANENTLY\020\002:W\352AT\n&analyticsadmin.google" - + "apis.com/Audience\022*properties/{property}" - + "/audiences/{audience}*\307\001\n\023AudienceFilter" - + "Scope\022%\n!AUDIENCE_FILTER_SCOPE_UNSPECIFI" - + "ED\020\000\022+\n\'AUDIENCE_FILTER_SCOPE_WITHIN_SAM" - + "E_EVENT\020\001\022-\n)AUDIENCE_FILTER_SCOPE_WITHI" - + "N_SAME_SESSION\020\002\022-\n)AUDIENCE_FILTER_SCOP" - + "E_ACROSS_ALL_SESSIONS\020\003Bz\n\"com.google.an" - + "alytics.admin.v1alphaB\rAudienceProtoP\001ZC" - + "google.golang.org/genproto/googleapis/an" - + "alytics/admin/v1alpha;adminb\006proto3" + + "erExpressionListH\000\022R\n\016not_expression\030\003 \001" + + "(\01328.google.analytics.admin.v1alpha.Audi" + + "enceFilterExpressionH\000\022e\n\032dimension_or_m" + + "etric_filter\030\004 \001(\0132?.google.analytics.ad" + + "min.v1alpha.AudienceDimensionOrMetricFil" + + "terH\000\022K\n\014event_filter\030\005 \001(\01323.google.ana" + + "lytics.admin.v1alpha.AudienceEventFilter" + + "H\000B\006\n\004expr\"t\n\034AudienceFilterExpressionLi" + + "st\022T\n\022filter_expressions\030\001 \003(\01328.google." + + "analytics.admin.v1alpha.AudienceFilterEx" + + "pression\"\277\001\n\024AudienceSimpleFilter\022J\n\005sco" + + "pe\030\001 \001(\01623.google.analytics.admin.v1alph" + + "a.AudienceFilterScopeB\006\340A\002\340A\005\022[\n\021filter_" + + "expression\030\002 \001(\01328.google.analytics.admi" + + "n.v1alpha.AudienceFilterExpressionB\006\340A\002\340" + + "A\005\"\262\004\n\026AudienceSequenceFilter\022J\n\005scope\030\001" + + " \001(\01623.google.analytics.admin.v1alpha.Au" + + "dienceFilterScopeB\006\340A\002\340A\005\022A\n\031sequence_ma" + + "ximum_duration\030\002 \001(\0132\031.google.protobuf.D" + + "urationB\003\340A\001\022h\n\016sequence_steps\030\003 \003(\0132K.g" + + "oogle.analytics.admin.v1alpha.AudienceSe" + + "quenceFilter.AudienceSequenceStepB\003\340A\002\032\236" + + "\002\n\024AudienceSequenceStep\022J\n\005scope\030\001 \001(\01623" + + ".google.analytics.admin.v1alpha.Audience" + + "FilterScopeB\006\340A\002\340A\005\022 \n\023immediately_follo" + + "ws\030\002 \001(\010B\003\340A\001\022;\n\023constraint_duration\030\003 \001" + + "(\0132\031.google.protobuf.DurationB\003\340A\001\022[\n\021fi" + + "lter_expression\030\004 \001(\01328.google.analytics" + + ".admin.v1alpha.AudienceFilterExpressionB" + + "\006\340A\002\340A\005\"\373\002\n\024AudienceFilterClause\022M\n\rsimp" + + "le_filter\030\002 \001(\01324.google.analytics.admin" + + ".v1alpha.AudienceSimpleFilterH\000\022Q\n\017seque" + + "nce_filter\030\003 \001(\01326.google.analytics.admi" + + "n.v1alpha.AudienceSequenceFilterH\000\022a\n\013cl" + + "ause_type\030\001 \001(\0162G.google.analytics.admin" + + ".v1alpha.AudienceFilterClause.AudienceCl" + + "auseTypeB\003\340A\002\"T\n\022AudienceClauseType\022$\n A" + + "UDIENCE_CLAUSE_TYPE_UNSPECIFIED\020\000\022\013\n\007INC" + + "LUDE\020\001\022\013\n\007EXCLUDE\020\002B\010\n\006filter\"\363\001\n\024Audien" + + "ceEventTrigger\022\027\n\nevent_name\030\001 \001(\tB\003\340A\002\022" + + "]\n\rlog_condition\030\002 \001(\0162A.google.analytic" + + "s.admin.v1alpha.AudienceEventTrigger.Log" + + "ConditionB\003\340A\002\"c\n\014LogCondition\022\035\n\031LOG_CO" + + "NDITION_UNSPECIFIED\020\000\022\023\n\017AUDIENCE_JOINED" + + "\020\001\022\037\n\033AUDIENCE_MEMBERSHIP_RENEWED\020\002\"\236\005\n\010" + + "Audience\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_n" + + "ame\030\002 \001(\tB\003\340A\002\022\030\n\013description\030\003 \001(\tB\003\340A\002" + + "\022(\n\030membership_duration_days\030\004 \001(\005B\006\340A\002\340" + + "A\005\022(\n\033ads_personalization_enabled\030\005 \001(\010B" + + "\003\340A\003\022P\n\revent_trigger\030\006 \001(\01324.google.ana" + + "lytics.admin.v1alpha.AudienceEventTrigge" + + "rB\003\340A\001\022l\n\027exclusion_duration_mode\030\007 \001(\0162" + + "F.google.analytics.admin.v1alpha.Audienc" + + "e.AudienceExclusionDurationModeB\003\340A\005\022W\n\016" + + "filter_clauses\030\010 \003(\01324.google.analytics." + + "admin.v1alpha.AudienceFilterClauseB\t\340A\005\340" + + "A\002\340A\006\"\203\001\n\035AudienceExclusionDurationMode\022" + + "0\n,AUDIENCE_EXCLUSION_DURATION_MODE_UNSP" + + "ECIFIED\020\000\022\027\n\023EXCLUDE_TEMPORARILY\020\001\022\027\n\023EX" + + "CLUDE_PERMANENTLY\020\002:W\352AT\n&analyticsadmin" + + ".googleapis.com/Audience\022*properties/{pr" + + "operty}/audiences/{audience}*\307\001\n\023Audienc" + + "eFilterScope\022%\n!AUDIENCE_FILTER_SCOPE_UN" + + "SPECIFIED\020\000\022+\n\'AUDIENCE_FILTER_SCOPE_WIT" + + "HIN_SAME_EVENT\020\001\022-\n)AUDIENCE_FILTER_SCOP" + + "E_WITHIN_SAME_SESSION\020\002\022-\n)AUDIENCE_FILT" + + "ER_SCOPE_ACROSS_ALL_SESSIONS\020\003Bz\n\"com.go" + + "ogle.analytics.admin.v1alphaB\rAudiencePr" + + "otoP\001ZCgoogle.golang.org/genproto/google" + + "apis/analytics/admin/v1alpha;adminb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java index 5dc036829500..618e6f9baa75 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java @@ -107,8 +107,8 @@ public interface AudienceSequenceStepOrBuilder * * *
-     * Optional. If true, the event satisfying this step must be the very next event
-     * after the event satisfying the last step. If unset or false, this
+     * Optional. If true, the event satisfying this step must be the very next
+     * event after the event satisfying the last step. If unset or false, this
      * step indirectly follows the prior step; for example, there may be
      * events between the prior step and this step. It is ignored for the
      * first step.
@@ -124,10 +124,10 @@ public interface AudienceSequenceStepOrBuilder
      *
      *
      * 
-     * Optional. When set, this step must be satisfied within the constraint_duration of
-     * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-     * set, there is no duration requirement (the duration is effectively
-     * unlimited). It is ignored for the first step.
+     * Optional. When set, this step must be satisfied within the
+     * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+     * constraint_duration). If not set, there is no duration requirement (the
+     * duration is effectively unlimited). It is ignored for the first step.
      * 
* * @@ -141,10 +141,10 @@ public interface AudienceSequenceStepOrBuilder * * *
-     * Optional. When set, this step must be satisfied within the constraint_duration of
-     * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-     * set, there is no duration requirement (the duration is effectively
-     * unlimited). It is ignored for the first step.
+     * Optional. When set, this step must be satisfied within the
+     * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+     * constraint_duration). If not set, there is no duration requirement (the
+     * duration is effectively unlimited). It is ignored for the first step.
      * 
* * @@ -158,10 +158,10 @@ public interface AudienceSequenceStepOrBuilder * * *
-     * Optional. When set, this step must be satisfied within the constraint_duration of
-     * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-     * set, there is no duration requirement (the duration is effectively
-     * unlimited). It is ignored for the first step.
+     * Optional. When set, this step must be satisfied within the
+     * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+     * constraint_duration). If not set, there is no duration requirement (the
+     * duration is effectively unlimited). It is ignored for the first step.
      * 
* * @@ -174,8 +174,8 @@ public interface AudienceSequenceStepOrBuilder * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-     * each step.
+     * Required. Immutable. A logical expression of Audience dimension, metric,
+     * or event filters in each step.
      * 
* * @@ -189,8 +189,8 @@ public interface AudienceSequenceStepOrBuilder * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-     * each step.
+     * Required. Immutable. A logical expression of Audience dimension, metric,
+     * or event filters in each step.
      * 
* * @@ -204,8 +204,8 @@ public interface AudienceSequenceStepOrBuilder * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-     * each step.
+     * Required. Immutable. A logical expression of Audience dimension, metric,
+     * or event filters in each step.
      * 
* * @@ -314,8 +314,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { * * *
-     * Optional. If true, the event satisfying this step must be the very next event
-     * after the event satisfying the last step. If unset or false, this
+     * Optional. If true, the event satisfying this step must be the very next
+     * event after the event satisfying the last step. If unset or false, this
      * step indirectly follows the prior step; for example, there may be
      * events between the prior step and this step. It is ignored for the
      * first step.
@@ -336,10 +336,10 @@ public boolean getImmediatelyFollows() {
      *
      *
      * 
-     * Optional. When set, this step must be satisfied within the constraint_duration of
-     * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-     * set, there is no duration requirement (the duration is effectively
-     * unlimited). It is ignored for the first step.
+     * Optional. When set, this step must be satisfied within the
+     * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+     * constraint_duration). If not set, there is no duration requirement (the
+     * duration is effectively unlimited). It is ignored for the first step.
      * 
* * @@ -356,10 +356,10 @@ public boolean hasConstraintDuration() { * * *
-     * Optional. When set, this step must be satisfied within the constraint_duration of
-     * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-     * set, there is no duration requirement (the duration is effectively
-     * unlimited). It is ignored for the first step.
+     * Optional. When set, this step must be satisfied within the
+     * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+     * constraint_duration). If not set, there is no duration requirement (the
+     * duration is effectively unlimited). It is ignored for the first step.
      * 
* * @@ -378,10 +378,10 @@ public com.google.protobuf.Duration getConstraintDuration() { * * *
-     * Optional. When set, this step must be satisfied within the constraint_duration of
-     * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-     * set, there is no duration requirement (the duration is effectively
-     * unlimited). It is ignored for the first step.
+     * Optional. When set, this step must be satisfied within the
+     * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+     * constraint_duration). If not set, there is no duration requirement (the
+     * duration is effectively unlimited). It is ignored for the first step.
      * 
* * @@ -401,8 +401,8 @@ public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-     * each step.
+     * Required. Immutable. A logical expression of Audience dimension, metric,
+     * or event filters in each step.
      * 
* * @@ -419,8 +419,8 @@ public boolean hasFilterExpression() { * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-     * each step.
+     * Required. Immutable. A logical expression of Audience dimension, metric,
+     * or event filters in each step.
      * 
* * @@ -439,8 +439,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpr * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-     * each step.
+     * Required. Immutable. A logical expression of Audience dimension, metric,
+     * or event filters in each step.
      * 
* * @@ -1032,8 +1032,8 @@ public Builder clearScope() { * * *
-       * Optional. If true, the event satisfying this step must be the very next event
-       * after the event satisfying the last step. If unset or false, this
+       * Optional. If true, the event satisfying this step must be the very next
+       * event after the event satisfying the last step. If unset or false, this
        * step indirectly follows the prior step; for example, there may be
        * events between the prior step and this step. It is ignored for the
        * first step.
@@ -1051,8 +1051,8 @@ public boolean getImmediatelyFollows() {
        *
        *
        * 
-       * Optional. If true, the event satisfying this step must be the very next event
-       * after the event satisfying the last step. If unset or false, this
+       * Optional. If true, the event satisfying this step must be the very next
+       * event after the event satisfying the last step. If unset or false, this
        * step indirectly follows the prior step; for example, there may be
        * events between the prior step and this step. It is ignored for the
        * first step.
@@ -1074,8 +1074,8 @@ public Builder setImmediatelyFollows(boolean value) {
        *
        *
        * 
-       * Optional. If true, the event satisfying this step must be the very next event
-       * after the event satisfying the last step. If unset or false, this
+       * Optional. If true, the event satisfying this step must be the very next
+       * event after the event satisfying the last step. If unset or false, this
        * step indirectly follows the prior step; for example, there may be
        * events between the prior step and this step. It is ignored for the
        * first step.
@@ -1102,10 +1102,10 @@ public Builder clearImmediatelyFollows() {
        *
        *
        * 
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1121,10 +1121,10 @@ public boolean hasConstraintDuration() { * * *
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1146,10 +1146,10 @@ public com.google.protobuf.Duration getConstraintDuration() { * * *
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1173,10 +1173,10 @@ public Builder setConstraintDuration(com.google.protobuf.Duration value) { * * *
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1197,10 +1197,10 @@ public Builder setConstraintDuration(com.google.protobuf.Duration.Builder builde * * *
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1227,10 +1227,10 @@ public Builder mergeConstraintDuration(com.google.protobuf.Duration value) { * * *
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1251,10 +1251,10 @@ public Builder clearConstraintDuration() { * * *
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1270,10 +1270,10 @@ public com.google.protobuf.Duration.Builder getConstraintDurationBuilder() { * * *
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1293,10 +1293,10 @@ public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { * * *
-       * Optional. When set, this step must be satisfied within the constraint_duration of
-       * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
-       * set, there is no duration requirement (the duration is effectively
-       * unlimited). It is ignored for the first step.
+       * Optional. When set, this step must be satisfied within the
+       * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+       * constraint_duration). If not set, there is no duration requirement (the
+       * duration is effectively unlimited). It is ignored for the first step.
        * 
* * @@ -1330,8 +1330,8 @@ public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1347,8 +1347,8 @@ public boolean hasFilterExpression() { * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1370,8 +1370,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpr * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1396,8 +1396,8 @@ public Builder setFilterExpression( * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1419,8 +1419,8 @@ public Builder setFilterExpression( * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1450,8 +1450,8 @@ public Builder mergeFilterExpression( * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1472,8 +1472,8 @@ public Builder clearFilterExpression() { * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1490,8 +1490,8 @@ public Builder clearFilterExpression() { * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1512,8 +1512,8 @@ public Builder clearFilterExpression() { * * *
-       * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
-       * each step.
+       * Required. Immutable. A logical expression of Audience dimension, metric,
+       * or event filters in each step.
        * 
* * @@ -1713,8 +1713,8 @@ public com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -1731,8 +1731,8 @@ public com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -1751,8 +1751,8 @@ public com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -1767,8 +1767,8 @@ public int getSequenceStepsCount() { * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -1784,8 +1784,8 @@ public int getSequenceStepsCount() { * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -2582,8 +2582,8 @@ private void ensureSequenceStepsIsMutable() { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2603,8 +2603,8 @@ private void ensureSequenceStepsIsMutable() { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2622,8 +2622,8 @@ public int getSequenceStepsCount() { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2642,8 +2642,8 @@ public int getSequenceStepsCount() { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2669,8 +2669,8 @@ public Builder setSequenceSteps( * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2694,8 +2694,8 @@ public Builder setSequenceSteps( * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2720,8 +2720,8 @@ public Builder addSequenceSteps( * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2747,8 +2747,8 @@ public Builder addSequenceSteps( * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2771,8 +2771,8 @@ public Builder addSequenceSteps( * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2796,8 +2796,8 @@ public Builder addSequenceSteps( * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2822,8 +2822,8 @@ public Builder addAllSequenceSteps( * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2844,8 +2844,8 @@ public Builder clearSequenceSteps() { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2866,8 +2866,8 @@ public Builder removeSequenceSteps(int index) { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2882,8 +2882,8 @@ public Builder removeSequenceSteps(int index) { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2902,8 +2902,8 @@ public Builder removeSequenceSteps(int index) { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2925,8 +2925,8 @@ public Builder removeSequenceSteps(int index) { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2944,8 +2944,8 @@ public Builder removeSequenceSteps(int index) { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * @@ -2964,8 +2964,8 @@ public Builder removeSequenceSteps(int index) { * * *
-     * Required. An ordered sequence of steps. A user must complete each step in order to
-     * join the sequence filter.
+     * Required. An ordered sequence of steps. A user must complete each step in
+     * order to join the sequence filter.
      * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java index 40549e8bd6d1..d6ed1b891e7a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java @@ -97,8 +97,8 @@ public interface AudienceSequenceFilterOrBuilder * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -111,8 +111,8 @@ public interface AudienceSequenceFilterOrBuilder * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -125,8 +125,8 @@ com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep g * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -138,8 +138,8 @@ com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep g * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * @@ -155,8 +155,8 @@ com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep g * * *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
    * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java index 806f422b5e62..ed7d56df2b17 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java @@ -115,7 +115,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { * * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* * @@ -132,7 +133,8 @@ public boolean hasFilterExpression() { * * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* * @@ -151,7 +153,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpr * * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* * @@ -657,7 +660,8 @@ public Builder clearScope() { * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * @@ -673,7 +677,8 @@ public boolean hasFilterExpression() { * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * @@ -695,7 +700,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpr * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * @@ -720,7 +726,8 @@ public Builder setFilterExpression( * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * @@ -742,7 +749,8 @@ public Builder setFilterExpression( * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * @@ -772,7 +780,8 @@ public Builder mergeFilterExpression( * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * @@ -793,7 +802,8 @@ public Builder clearFilterExpression() { * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * @@ -810,7 +820,8 @@ public Builder clearFilterExpression() { * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * @@ -831,7 +842,8 @@ public Builder clearFilterExpression() { * * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java index 9dd3a6686a9c..c4b7886fa59b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java @@ -56,7 +56,8 @@ public interface AudienceSimpleFilterOrBuilder * * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* * @@ -70,7 +71,8 @@ public interface AudienceSimpleFilterOrBuilder * * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* * @@ -84,7 +86,8 @@ public interface AudienceSimpleFilterOrBuilder * * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java index ff8771b1ffd9..d6f664323ca2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java @@ -76,8 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The account or property that all user links in the request are for.
-   * This field is required. The parent field in the CreateUserLinkRequest
+   * Required. The account or property that all user links in the request are
+   * for. This field is required. The parent field in the CreateUserLinkRequest
    * messages must either be empty or match this field.
    * Example format: accounts/1234
    * 
@@ -104,8 +104,8 @@ public java.lang.String getParent() { * * *
-   * Required. The account or property that all user links in the request are for.
-   * This field is required. The parent field in the CreateUserLinkRequest
+   * Required. The account or property that all user links in the request are
+   * for. This field is required. The parent field in the CreateUserLinkRequest
    * messages must either be empty or match this field.
    * Example format: accounts/1234
    * 
@@ -135,9 +135,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. If set, then email the new users notifying them that they've been granted
-   * permissions to the resource. Regardless of whether this is set or not,
-   * notify_new_user field inside each individual request is ignored.
+   * Optional. If set, then email the new users notifying them that they've been
+   * granted permissions to the resource. Regardless of whether this is set or
+   * not, notify_new_user field inside each individual request is ignored.
    * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -683,8 +683,8 @@ public Builder mergeFrom( * * *
-     * Required. The account or property that all user links in the request are for.
-     * This field is required. The parent field in the CreateUserLinkRequest
+     * Required. The account or property that all user links in the request are
+     * for. This field is required. The parent field in the CreateUserLinkRequest
      * messages must either be empty or match this field.
      * Example format: accounts/1234
      * 
@@ -710,8 +710,8 @@ public java.lang.String getParent() { * * *
-     * Required. The account or property that all user links in the request are for.
-     * This field is required. The parent field in the CreateUserLinkRequest
+     * Required. The account or property that all user links in the request are
+     * for. This field is required. The parent field in the CreateUserLinkRequest
      * messages must either be empty or match this field.
      * Example format: accounts/1234
      * 
@@ -737,8 +737,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The account or property that all user links in the request are for.
-     * This field is required. The parent field in the CreateUserLinkRequest
+     * Required. The account or property that all user links in the request are
+     * for. This field is required. The parent field in the CreateUserLinkRequest
      * messages must either be empty or match this field.
      * Example format: accounts/1234
      * 
@@ -763,8 +763,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The account or property that all user links in the request are for.
-     * This field is required. The parent field in the CreateUserLinkRequest
+     * Required. The account or property that all user links in the request are
+     * for. This field is required. The parent field in the CreateUserLinkRequest
      * messages must either be empty or match this field.
      * Example format: accounts/1234
      * 
@@ -785,8 +785,8 @@ public Builder clearParent() { * * *
-     * Required. The account or property that all user links in the request are for.
-     * This field is required. The parent field in the CreateUserLinkRequest
+     * Required. The account or property that all user links in the request are
+     * for. This field is required. The parent field in the CreateUserLinkRequest
      * messages must either be empty or match this field.
      * Example format: accounts/1234
      * 
@@ -814,9 +814,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. If set, then email the new users notifying them that they've been granted
-     * permissions to the resource. Regardless of whether this is set or not,
-     * notify_new_user field inside each individual request is ignored.
+     * Optional. If set, then email the new users notifying them that they've been
+     * granted permissions to the resource. Regardless of whether this is set or
+     * not, notify_new_user field inside each individual request is ignored.
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -831,9 +831,9 @@ public boolean getNotifyNewUsers() { * * *
-     * Optional. If set, then email the new users notifying them that they've been granted
-     * permissions to the resource. Regardless of whether this is set or not,
-     * notify_new_user field inside each individual request is ignored.
+     * Optional. If set, then email the new users notifying them that they've been
+     * granted permissions to the resource. Regardless of whether this is set or
+     * not, notify_new_user field inside each individual request is ignored.
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -852,9 +852,9 @@ public Builder setNotifyNewUsers(boolean value) { * * *
-     * Optional. If set, then email the new users notifying them that they've been granted
-     * permissions to the resource. Regardless of whether this is set or not,
-     * notify_new_user field inside each individual request is ignored.
+     * Optional. If set, then email the new users notifying them that they've been
+     * granted permissions to the resource. Regardless of whether this is set or
+     * not, notify_new_user field inside each individual request is ignored.
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java index e44710fed9ab..33108d9f762f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface BatchCreateUserLinksRequestOrBuilder * * *
-   * Required. The account or property that all user links in the request are for.
-   * This field is required. The parent field in the CreateUserLinkRequest
+   * Required. The account or property that all user links in the request are
+   * for. This field is required. The parent field in the CreateUserLinkRequest
    * messages must either be empty or match this field.
    * Example format: accounts/1234
    * 
@@ -44,8 +44,8 @@ public interface BatchCreateUserLinksRequestOrBuilder * * *
-   * Required. The account or property that all user links in the request are for.
-   * This field is required. The parent field in the CreateUserLinkRequest
+   * Required. The account or property that all user links in the request are
+   * for. This field is required. The parent field in the CreateUserLinkRequest
    * messages must either be empty or match this field.
    * Example format: accounts/1234
    * 
@@ -62,9 +62,9 @@ public interface BatchCreateUserLinksRequestOrBuilder * * *
-   * Optional. If set, then email the new users notifying them that they've been granted
-   * permissions to the resource. Regardless of whether this is set or not,
-   * notify_new_user field inside each individual request is ignored.
+   * Optional. If set, then email the new users notifying them that they've been
+   * granted permissions to the resource. Regardless of whether this is set or
+   * not, notify_new_user field inside each individual request is ignored.
    * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java new file mode 100644 index 000000000000..c6609e6ba228 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java @@ -0,0 +1,2012 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/resources.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * A link between a GA4 Property and BigQuery project.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.BigQueryLink} + */ +public final class BigQueryLink extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BigQueryLink) + BigQueryLinkOrBuilder { + private static final long serialVersionUID = 0L; + // Use BigQueryLink.newBuilder() to construct. + private BigQueryLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BigQueryLink() { + name_ = ""; + project_ = ""; + exportStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + excludedEvents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BigQueryLink(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_BigQueryLink_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_BigQueryLink_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.BigQueryLink.class, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. Resource name of this BigQuery link.
+   * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+   * Format: 'properties/1234/bigQueryLinks/abc567'
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. Resource name of this BigQuery link.
+   * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+   * Format: 'properties/1234/bigQueryLinks/abc567'
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+   * you may provide this resource name using either a project number or project
+   * ID. Once this resource has been created, the returned project will always
+   * have a project that contains a project number.
+   * Format: 'projects/{project number}'
+   * Example: 'projects/1234'
+   * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+   * you may provide this resource name using either a project number or project
+   * ID. Once this resource has been created, the returned project will always
+   * have a project that contains a project number.
+   * Format: 'projects/{project number}'
+   * Example: 'projects/1234'
+   * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATE_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. Time when the link was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the link was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. Time when the link was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int DAILY_EXPORT_ENABLED_FIELD_NUMBER = 4; + private boolean dailyExportEnabled_ = false; + /** + * + * + *
+   * If set true, enables daily data export to the linked Google Cloud project.
+   * 
+ * + * bool daily_export_enabled = 4; + * + * @return The dailyExportEnabled. + */ + @java.lang.Override + public boolean getDailyExportEnabled() { + return dailyExportEnabled_; + } + + public static final int STREAMING_EXPORT_ENABLED_FIELD_NUMBER = 5; + private boolean streamingExportEnabled_ = false; + /** + * + * + *
+   * If set true, enables streaming export to the linked Google Cloud project.
+   * 
+ * + * bool streaming_export_enabled = 5; + * + * @return The streamingExportEnabled. + */ + @java.lang.Override + public boolean getStreamingExportEnabled() { + return streamingExportEnabled_; + } + + public static final int INCLUDE_ADVERTISING_ID_FIELD_NUMBER = 6; + private boolean includeAdvertisingId_ = false; + /** + * + * + *
+   * If set true, exported data will include advertising identifiers for mobile
+   * app streams.
+   * 
+ * + * bool include_advertising_id = 6; + * + * @return The includeAdvertisingId. + */ + @java.lang.Override + public boolean getIncludeAdvertisingId() { + return includeAdvertisingId_; + } + + public static final int EXPORT_STREAMS_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList exportStreams_; + /** + * + * + *
+   * The list of streams under the parent property for which data will be
+   * exported.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: ['properties/1000/dataStreams/2000']
+   * 
+ * + * repeated string export_streams = 7; + * + * @return A list containing the exportStreams. + */ + public com.google.protobuf.ProtocolStringList getExportStreamsList() { + return exportStreams_; + } + /** + * + * + *
+   * The list of streams under the parent property for which data will be
+   * exported.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: ['properties/1000/dataStreams/2000']
+   * 
+ * + * repeated string export_streams = 7; + * + * @return The count of exportStreams. + */ + public int getExportStreamsCount() { + return exportStreams_.size(); + } + /** + * + * + *
+   * The list of streams under the parent property for which data will be
+   * exported.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: ['properties/1000/dataStreams/2000']
+   * 
+ * + * repeated string export_streams = 7; + * + * @param index The index of the element to return. + * @return The exportStreams at the given index. + */ + public java.lang.String getExportStreams(int index) { + return exportStreams_.get(index); + } + /** + * + * + *
+   * The list of streams under the parent property for which data will be
+   * exported.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: ['properties/1000/dataStreams/2000']
+   * 
+ * + * repeated string export_streams = 7; + * + * @param index The index of the value to return. + * @return The bytes of the exportStreams at the given index. + */ + public com.google.protobuf.ByteString getExportStreamsBytes(int index) { + return exportStreams_.getByteString(index); + } + + public static final int EXCLUDED_EVENTS_FIELD_NUMBER = 8; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList excludedEvents_; + /** + * + * + *
+   * The list of event names that will be excluded from exports.
+   * 
+ * + * repeated string excluded_events = 8; + * + * @return A list containing the excludedEvents. + */ + public com.google.protobuf.ProtocolStringList getExcludedEventsList() { + return excludedEvents_; + } + /** + * + * + *
+   * The list of event names that will be excluded from exports.
+   * 
+ * + * repeated string excluded_events = 8; + * + * @return The count of excludedEvents. + */ + public int getExcludedEventsCount() { + return excludedEvents_.size(); + } + /** + * + * + *
+   * The list of event names that will be excluded from exports.
+   * 
+ * + * repeated string excluded_events = 8; + * + * @param index The index of the element to return. + * @return The excludedEvents at the given index. + */ + public java.lang.String getExcludedEvents(int index) { + return excludedEvents_.get(index); + } + /** + * + * + *
+   * The list of event names that will be excluded from exports.
+   * 
+ * + * repeated string excluded_events = 8; + * + * @param index The index of the value to return. + * @return The bytes of the excludedEvents at the given index. + */ + public com.google.protobuf.ByteString getExcludedEventsBytes(int index) { + return excludedEvents_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, project_); + } + if (createTime_ != null) { + output.writeMessage(3, getCreateTime()); + } + if (dailyExportEnabled_ != false) { + output.writeBool(4, dailyExportEnabled_); + } + if (streamingExportEnabled_ != false) { + output.writeBool(5, streamingExportEnabled_); + } + if (includeAdvertisingId_ != false) { + output.writeBool(6, includeAdvertisingId_); + } + for (int i = 0; i < exportStreams_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, exportStreams_.getRaw(i)); + } + for (int i = 0; i < excludedEvents_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, excludedEvents_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + } + if (dailyExportEnabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, dailyExportEnabled_); + } + if (streamingExportEnabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, streamingExportEnabled_); + } + if (includeAdvertisingId_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, includeAdvertisingId_); + } + { + int dataSize = 0; + for (int i = 0; i < exportStreams_.size(); i++) { + dataSize += computeStringSizeNoTag(exportStreams_.getRaw(i)); + } + size += dataSize; + size += 1 * getExportStreamsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < excludedEvents_.size(); i++) { + dataSize += computeStringSizeNoTag(excludedEvents_.getRaw(i)); + } + size += dataSize; + size += 1 * getExcludedEventsList().size(); + } + size += getUnknownFields().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.BigQueryLink)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.BigQueryLink other = + (com.google.analytics.admin.v1alpha.BigQueryLink) obj; + + if (!getName().equals(other.getName())) return false; + if (!getProject().equals(other.getProject())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (getDailyExportEnabled() != other.getDailyExportEnabled()) return false; + if (getStreamingExportEnabled() != other.getStreamingExportEnabled()) return false; + if (getIncludeAdvertisingId() != other.getIncludeAdvertisingId()) return false; + if (!getExportStreamsList().equals(other.getExportStreamsList())) return false; + if (!getExcludedEventsList().equals(other.getExcludedEventsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + hash = (37 * hash) + DAILY_EXPORT_ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDailyExportEnabled()); + hash = (37 * hash) + STREAMING_EXPORT_ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStreamingExportEnabled()); + hash = (37 * hash) + INCLUDE_ADVERTISING_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAdvertisingId()); + if (getExportStreamsCount() > 0) { + hash = (37 * hash) + EXPORT_STREAMS_FIELD_NUMBER; + hash = (53 * hash) + getExportStreamsList().hashCode(); + } + if (getExcludedEventsCount() > 0) { + hash = (37 * hash) + EXCLUDED_EVENTS_FIELD_NUMBER; + hash = (53 * hash) + getExcludedEventsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.BigQueryLink parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.BigQueryLink 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.BigQueryLink parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.BigQueryLink parseFrom( + 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.BigQueryLink parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.BigQueryLink 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.BigQueryLink parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.BigQueryLink 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.BigQueryLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.BigQueryLink 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.BigQueryLink 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.BigQueryLink 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.BigQueryLink 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 link between a GA4 Property and BigQuery project.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.BigQueryLink} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BigQueryLink) + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_BigQueryLink_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_BigQueryLink_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.BigQueryLink.class, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.BigQueryLink.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + project_ = ""; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + dailyExportEnabled_ = false; + streamingExportEnabled_ = false; + includeAdvertisingId_ = false; + exportStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + excludedEvents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_BigQueryLink_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLink getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLink build() { + com.google.analytics.admin.v1alpha.BigQueryLink result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLink buildPartial() { + com.google.analytics.admin.v1alpha.BigQueryLink result = + new com.google.analytics.admin.v1alpha.BigQueryLink(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BigQueryLink result) { + if (((bitField0_ & 0x00000040) != 0)) { + exportStreams_ = exportStreams_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.exportStreams_ = exportStreams_; + if (((bitField0_ & 0x00000080) != 0)) { + excludedEvents_ = excludedEvents_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.excludedEvents_ = excludedEvents_; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.BigQueryLink result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.dailyExportEnabled_ = dailyExportEnabled_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.streamingExportEnabled_ = streamingExportEnabled_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.includeAdvertisingId_ = includeAdvertisingId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.BigQueryLink) { + return mergeFrom((com.google.analytics.admin.v1alpha.BigQueryLink) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.BigQueryLink other) { + if (other == com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.getDailyExportEnabled() != false) { + setDailyExportEnabled(other.getDailyExportEnabled()); + } + if (other.getStreamingExportEnabled() != false) { + setStreamingExportEnabled(other.getStreamingExportEnabled()); + } + if (other.getIncludeAdvertisingId() != false) { + setIncludeAdvertisingId(other.getIncludeAdvertisingId()); + } + if (!other.exportStreams_.isEmpty()) { + if (exportStreams_.isEmpty()) { + exportStreams_ = other.exportStreams_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureExportStreamsIsMutable(); + exportStreams_.addAll(other.exportStreams_); + } + onChanged(); + } + if (!other.excludedEvents_.isEmpty()) { + if (excludedEvents_.isEmpty()) { + excludedEvents_ = other.excludedEvents_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureExcludedEventsIsMutable(); + excludedEvents_.addAll(other.excludedEvents_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + dailyExportEnabled_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + streamingExportEnabled_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + includeAdvertisingId_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExportStreamsIsMutable(); + exportStreams_.add(s); + break; + } // case 58 + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedEventsIsMutable(); + excludedEvents_.add(s); + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. Resource name of this BigQuery link.
+     * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+     * Format: 'properties/1234/bigQueryLinks/abc567'
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. Resource name of this BigQuery link.
+     * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+     * Format: 'properties/1234/bigQueryLinks/abc567'
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. Resource name of this BigQuery link.
+     * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+     * Format: 'properties/1234/bigQueryLinks/abc567'
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Resource name of this BigQuery link.
+     * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+     * Format: 'properties/1234/bigQueryLinks/abc567'
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Resource name of this BigQuery link.
+     * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+     * Format: 'properties/1234/bigQueryLinks/abc567'
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, the returned project will always
+     * have a project that contains a project number.
+     * Format: 'projects/{project number}'
+     * Example: 'projects/1234'
+     * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, the returned project will always
+     * have a project that contains a project number.
+     * Format: 'projects/{project number}'
+     * Example: 'projects/1234'
+     * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, the returned project will always
+     * have a project that contains a project number.
+     * Format: 'projects/{project number}'
+     * Example: 'projects/1234'
+     * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, the returned project will always
+     * have a project that contains a project number.
+     * Format: 'projects/{project number}'
+     * Example: 'projects/1234'
+     * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, the returned project will always
+     * have a project that contains a project number.
+     * Format: 'projects/{project number}'
+     * Example: 'projects/1234'
+     * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000004); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
+     * Output only. Time when the link was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private boolean dailyExportEnabled_; + /** + * + * + *
+     * If set true, enables daily data export to the linked Google Cloud project.
+     * 
+ * + * bool daily_export_enabled = 4; + * + * @return The dailyExportEnabled. + */ + @java.lang.Override + public boolean getDailyExportEnabled() { + return dailyExportEnabled_; + } + /** + * + * + *
+     * If set true, enables daily data export to the linked Google Cloud project.
+     * 
+ * + * bool daily_export_enabled = 4; + * + * @param value The dailyExportEnabled to set. + * @return This builder for chaining. + */ + public Builder setDailyExportEnabled(boolean value) { + + dailyExportEnabled_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * If set true, enables daily data export to the linked Google Cloud project.
+     * 
+ * + * bool daily_export_enabled = 4; + * + * @return This builder for chaining. + */ + public Builder clearDailyExportEnabled() { + bitField0_ = (bitField0_ & ~0x00000008); + dailyExportEnabled_ = false; + onChanged(); + return this; + } + + private boolean streamingExportEnabled_; + /** + * + * + *
+     * If set true, enables streaming export to the linked Google Cloud project.
+     * 
+ * + * bool streaming_export_enabled = 5; + * + * @return The streamingExportEnabled. + */ + @java.lang.Override + public boolean getStreamingExportEnabled() { + return streamingExportEnabled_; + } + /** + * + * + *
+     * If set true, enables streaming export to the linked Google Cloud project.
+     * 
+ * + * bool streaming_export_enabled = 5; + * + * @param value The streamingExportEnabled to set. + * @return This builder for chaining. + */ + public Builder setStreamingExportEnabled(boolean value) { + + streamingExportEnabled_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * If set true, enables streaming export to the linked Google Cloud project.
+     * 
+ * + * bool streaming_export_enabled = 5; + * + * @return This builder for chaining. + */ + public Builder clearStreamingExportEnabled() { + bitField0_ = (bitField0_ & ~0x00000010); + streamingExportEnabled_ = false; + onChanged(); + return this; + } + + private boolean includeAdvertisingId_; + /** + * + * + *
+     * If set true, exported data will include advertising identifiers for mobile
+     * app streams.
+     * 
+ * + * bool include_advertising_id = 6; + * + * @return The includeAdvertisingId. + */ + @java.lang.Override + public boolean getIncludeAdvertisingId() { + return includeAdvertisingId_; + } + /** + * + * + *
+     * If set true, exported data will include advertising identifiers for mobile
+     * app streams.
+     * 
+ * + * bool include_advertising_id = 6; + * + * @param value The includeAdvertisingId to set. + * @return This builder for chaining. + */ + public Builder setIncludeAdvertisingId(boolean value) { + + includeAdvertisingId_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * If set true, exported data will include advertising identifiers for mobile
+     * app streams.
+     * 
+ * + * bool include_advertising_id = 6; + * + * @return This builder for chaining. + */ + public Builder clearIncludeAdvertisingId() { + bitField0_ = (bitField0_ & ~0x00000020); + includeAdvertisingId_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList exportStreams_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureExportStreamsIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + exportStreams_ = new com.google.protobuf.LazyStringArrayList(exportStreams_); + bitField0_ |= 0x00000040; + } + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @return A list containing the exportStreams. + */ + public com.google.protobuf.ProtocolStringList getExportStreamsList() { + return exportStreams_.getUnmodifiableView(); + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @return The count of exportStreams. + */ + public int getExportStreamsCount() { + return exportStreams_.size(); + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @param index The index of the element to return. + * @return The exportStreams at the given index. + */ + public java.lang.String getExportStreams(int index) { + return exportStreams_.get(index); + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @param index The index of the value to return. + * @return The bytes of the exportStreams at the given index. + */ + public com.google.protobuf.ByteString getExportStreamsBytes(int index) { + return exportStreams_.getByteString(index); + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @param index The index to set the value at. + * @param value The exportStreams to set. + * @return This builder for chaining. + */ + public Builder setExportStreams(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExportStreamsIsMutable(); + exportStreams_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @param value The exportStreams to add. + * @return This builder for chaining. + */ + public Builder addExportStreams(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExportStreamsIsMutable(); + exportStreams_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @param values The exportStreams to add. + * @return This builder for chaining. + */ + public Builder addAllExportStreams(java.lang.Iterable values) { + ensureExportStreamsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exportStreams_); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @return This builder for chaining. + */ + public Builder clearExportStreams() { + exportStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of streams under the parent property for which data will be
+     * exported.
+     * Format: properties/{property_id}/dataStreams/{stream_id}
+     * Example: ['properties/1000/dataStreams/2000']
+     * 
+ * + * repeated string export_streams = 7; + * + * @param value The bytes of the exportStreams to add. + * @return This builder for chaining. + */ + public Builder addExportStreamsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExportStreamsIsMutable(); + exportStreams_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList excludedEvents_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureExcludedEventsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + excludedEvents_ = new com.google.protobuf.LazyStringArrayList(excludedEvents_); + bitField0_ |= 0x00000080; + } + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @return A list containing the excludedEvents. + */ + public com.google.protobuf.ProtocolStringList getExcludedEventsList() { + return excludedEvents_.getUnmodifiableView(); + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @return The count of excludedEvents. + */ + public int getExcludedEventsCount() { + return excludedEvents_.size(); + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @param index The index of the element to return. + * @return The excludedEvents at the given index. + */ + public java.lang.String getExcludedEvents(int index) { + return excludedEvents_.get(index); + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @param index The index of the value to return. + * @return The bytes of the excludedEvents at the given index. + */ + public com.google.protobuf.ByteString getExcludedEventsBytes(int index) { + return excludedEvents_.getByteString(index); + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @param index The index to set the value at. + * @param value The excludedEvents to set. + * @return This builder for chaining. + */ + public Builder setExcludedEvents(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExcludedEventsIsMutable(); + excludedEvents_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @param value The excludedEvents to add. + * @return This builder for chaining. + */ + public Builder addExcludedEvents(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExcludedEventsIsMutable(); + excludedEvents_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @param values The excludedEvents to add. + * @return This builder for chaining. + */ + public Builder addAllExcludedEvents(java.lang.Iterable values) { + ensureExcludedEventsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedEvents_); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @return This builder for chaining. + */ + public Builder clearExcludedEvents() { + excludedEvents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of event names that will be excluded from exports.
+     * 
+ * + * repeated string excluded_events = 8; + * + * @param value The bytes of the excludedEvents to add. + * @return This builder for chaining. + */ + public Builder addExcludedEventsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExcludedEventsIsMutable(); + excludedEvents_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BigQueryLink) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BigQueryLink) + private static final com.google.analytics.admin.v1alpha.BigQueryLink DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BigQueryLink(); + } + + public static com.google.analytics.admin.v1alpha.BigQueryLink getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLink getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java new file mode 100644 index 000000000000..1f7a7f9e03f3 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java @@ -0,0 +1,192 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class BigQueryLinkName implements ResourceName { + private static final PathTemplate PROPERTY_BIGQUERY_LINK = + PathTemplate.createWithoutUrlEncoding("properties/{property}/bigQueryLinks/{bigquery_link}"); + private volatile Map fieldValuesMap; + private final String property; + private final String bigqueryLink; + + @Deprecated + protected BigQueryLinkName() { + property = null; + bigqueryLink = null; + } + + private BigQueryLinkName(Builder builder) { + property = Preconditions.checkNotNull(builder.getProperty()); + bigqueryLink = Preconditions.checkNotNull(builder.getBigqueryLink()); + } + + public String getProperty() { + return property; + } + + public String getBigqueryLink() { + return bigqueryLink; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static BigQueryLinkName of(String property, String bigqueryLink) { + return newBuilder().setProperty(property).setBigqueryLink(bigqueryLink).build(); + } + + public static String format(String property, String bigqueryLink) { + return newBuilder().setProperty(property).setBigqueryLink(bigqueryLink).build().toString(); + } + + public static BigQueryLinkName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROPERTY_BIGQUERY_LINK.validatedMatch( + formattedString, "BigQueryLinkName.parse: formattedString not in valid format"); + return of(matchMap.get("property"), matchMap.get("bigquery_link")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (BigQueryLinkName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROPERTY_BIGQUERY_LINK.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (property != null) { + fieldMapBuilder.put("property", property); + } + if (bigqueryLink != null) { + fieldMapBuilder.put("bigquery_link", bigqueryLink); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROPERTY_BIGQUERY_LINK.instantiate("property", property, "bigquery_link", bigqueryLink); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + BigQueryLinkName that = ((BigQueryLinkName) o); + return Objects.equals(this.property, that.property) + && Objects.equals(this.bigqueryLink, that.bigqueryLink); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(property); + h *= 1000003; + h ^= Objects.hashCode(bigqueryLink); + return h; + } + + /** Builder for properties/{property}/bigQueryLinks/{bigquery_link}. */ + public static class Builder { + private String property; + private String bigqueryLink; + + protected Builder() {} + + public String getProperty() { + return property; + } + + public String getBigqueryLink() { + return bigqueryLink; + } + + public Builder setProperty(String property) { + this.property = property; + return this; + } + + public Builder setBigqueryLink(String bigqueryLink) { + this.bigqueryLink = bigqueryLink; + return this; + } + + private Builder(BigQueryLinkName bigQueryLinkName) { + this.property = bigQueryLinkName.property; + this.bigqueryLink = bigQueryLinkName.bigqueryLink; + } + + public BigQueryLinkName build() { + return new BigQueryLinkName(this); + } + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java new file mode 100644 index 000000000000..dcad666962e6 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java @@ -0,0 +1,281 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/resources.proto + +package com.google.analytics.admin.v1alpha; + +public interface BigQueryLinkOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BigQueryLink) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Resource name of this BigQuery link.
+   * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+   * Format: 'properties/1234/bigQueryLinks/abc567'
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. Resource name of this BigQuery link.
+   * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+   * Format: 'properties/1234/bigQueryLinks/abc567'
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+   * you may provide this resource name using either a project number or project
+   * ID. Once this resource has been created, the returned project will always
+   * have a project that contains a project number.
+   * Format: 'projects/{project number}'
+   * Example: 'projects/1234'
+   * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+   * you may provide this resource name using either a project number or project
+   * ID. Once this resource has been created, the returned project will always
+   * have a project that contains a project number.
+   * Format: 'projects/{project number}'
+   * Example: 'projects/1234'
+   * 
+ * + * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Output only. Time when the link was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. Time when the link was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. Time when the link was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * If set true, enables daily data export to the linked Google Cloud project.
+   * 
+ * + * bool daily_export_enabled = 4; + * + * @return The dailyExportEnabled. + */ + boolean getDailyExportEnabled(); + + /** + * + * + *
+   * If set true, enables streaming export to the linked Google Cloud project.
+   * 
+ * + * bool streaming_export_enabled = 5; + * + * @return The streamingExportEnabled. + */ + boolean getStreamingExportEnabled(); + + /** + * + * + *
+   * If set true, exported data will include advertising identifiers for mobile
+   * app streams.
+   * 
+ * + * bool include_advertising_id = 6; + * + * @return The includeAdvertisingId. + */ + boolean getIncludeAdvertisingId(); + + /** + * + * + *
+   * The list of streams under the parent property for which data will be
+   * exported.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: ['properties/1000/dataStreams/2000']
+   * 
+ * + * repeated string export_streams = 7; + * + * @return A list containing the exportStreams. + */ + java.util.List getExportStreamsList(); + /** + * + * + *
+   * The list of streams under the parent property for which data will be
+   * exported.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: ['properties/1000/dataStreams/2000']
+   * 
+ * + * repeated string export_streams = 7; + * + * @return The count of exportStreams. + */ + int getExportStreamsCount(); + /** + * + * + *
+   * The list of streams under the parent property for which data will be
+   * exported.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: ['properties/1000/dataStreams/2000']
+   * 
+ * + * repeated string export_streams = 7; + * + * @param index The index of the element to return. + * @return The exportStreams at the given index. + */ + java.lang.String getExportStreams(int index); + /** + * + * + *
+   * The list of streams under the parent property for which data will be
+   * exported.
+   * Format: properties/{property_id}/dataStreams/{stream_id}
+   * Example: ['properties/1000/dataStreams/2000']
+   * 
+ * + * repeated string export_streams = 7; + * + * @param index The index of the value to return. + * @return The bytes of the exportStreams at the given index. + */ + com.google.protobuf.ByteString getExportStreamsBytes(int index); + + /** + * + * + *
+   * The list of event names that will be excluded from exports.
+   * 
+ * + * repeated string excluded_events = 8; + * + * @return A list containing the excludedEvents. + */ + java.util.List getExcludedEventsList(); + /** + * + * + *
+   * The list of event names that will be excluded from exports.
+   * 
+ * + * repeated string excluded_events = 8; + * + * @return The count of excludedEvents. + */ + int getExcludedEventsCount(); + /** + * + * + *
+   * The list of event names that will be excluded from exports.
+   * 
+ * + * repeated string excluded_events = 8; + * + * @param index The index of the element to return. + * @return The excludedEvents at the given index. + */ + java.lang.String getExcludedEvents(int index); + /** + * + * + *
+   * The list of event names that will be excluded from exports.
+   * 
+ * + * repeated string excluded_events = 8; + * + * @param index The index of the value to return. + * @return The bytes of the excludedEvents at the given index. + */ + com.google.protobuf.ByteString getExcludedEventsBytes(int index); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java index 344a26909e2f..463fda5a9b6f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java @@ -530,6 +530,41 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); + /** + * + * + *
+     * A snapshot of a SearchAds360Link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + * + * @return Whether the searchAds360Link field is set. + */ + boolean hasSearchAds360Link(); + /** + * + * + *
+     * A snapshot of a SearchAds360Link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + * + * @return The searchAds360Link. + */ + com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link(); + /** + * + * + *
+     * A snapshot of a SearchAds360Link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinkOrBuilder(); + /** * * @@ -601,6 +636,76 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder(); + /** + * + * + *
+     * A snapshot of an ExpandedDataSet resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + * + * @return Whether the expandedDataSet field is set. + */ + boolean hasExpandedDataSet(); + /** + * + * + *
+     * A snapshot of an ExpandedDataSet resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + * + * @return The expandedDataSet. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet(); + /** + * + * + *
+     * A snapshot of an ExpandedDataSet resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder(); + + /** + * + * + *
+     * A snapshot of a BigQuery link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + * + * @return Whether the bigqueryLink field is set. + */ + boolean hasBigqueryLink(); + /** + * + * + *
+     * A snapshot of a BigQuery link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + * + * @return The bigqueryLink. + */ + com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLink(); + /** + * + * + *
+     * A snapshot of a BigQuery link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkOrBuilder(); + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); } @@ -672,8 +777,11 @@ public enum ResourceCase CUSTOM_DIMENSION(13), CUSTOM_METRIC(14), DATA_RETENTION_SETTINGS(15), + SEARCH_ADS_360_LINK(16), DATA_STREAM(18), ATTRIBUTION_SETTINGS(20), + EXPANDED_DATA_SET(21), + BIGQUERY_LINK(23), RESOURCE_NOT_SET(0); private final int value; @@ -716,10 +824,16 @@ public static ResourceCase forNumber(int value) { return CUSTOM_METRIC; case 15: return DATA_RETENTION_SETTINGS; + case 16: + return SEARCH_ADS_360_LINK; case 18: return DATA_STREAM; case 20: return ATTRIBUTION_SETTINGS; + case 21: + return EXPANDED_DATA_SET; + case 23: + return BIGQUERY_LINK; case 0: return RESOURCE_NOT_SET; default: @@ -1390,6 +1504,58 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetention return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); } + public static final int SEARCH_ADS_360_LINK_FIELD_NUMBER = 16; + /** + * + * + *
+     * A snapshot of a SearchAds360Link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + * + * @return Whether the searchAds360Link field is set. + */ + @java.lang.Override + public boolean hasSearchAds360Link() { + return resourceCase_ == 16; + } + /** + * + * + *
+     * A snapshot of a SearchAds360Link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + * + * @return The searchAds360Link. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link() { + if (resourceCase_ == 16) { + return (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_; + } + return com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); + } + /** + * + * + *
+     * A snapshot of a SearchAds360Link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinkOrBuilder() { + if (resourceCase_ == 16) { + return (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_; + } + return com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); + } + public static final int DATA_STREAM_FIELD_NUMBER = 18; /** * @@ -1493,6 +1659,109 @@ public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSett return com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); } + public static final int EXPANDED_DATA_SET_FIELD_NUMBER = 21; + /** + * + * + *
+     * A snapshot of an ExpandedDataSet resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + * + * @return Whether the expandedDataSet field is set. + */ + @java.lang.Override + public boolean hasExpandedDataSet() { + return resourceCase_ == 21; + } + /** + * + * + *
+     * A snapshot of an ExpandedDataSet resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + * + * @return The expandedDataSet. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { + if (resourceCase_ == 21) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSet) resource_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance(); + } + /** + * + * + *
+     * A snapshot of an ExpandedDataSet resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder + getExpandedDataSetOrBuilder() { + if (resourceCase_ == 21) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSet) resource_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance(); + } + + public static final int BIGQUERY_LINK_FIELD_NUMBER = 23; + /** + * + * + *
+     * A snapshot of a BigQuery link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + * + * @return Whether the bigqueryLink field is set. + */ + @java.lang.Override + public boolean hasBigqueryLink() { + return resourceCase_ == 23; + } + /** + * + * + *
+     * A snapshot of a BigQuery link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + * + * @return The bigqueryLink. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLink() { + if (resourceCase_ == 23) { + return (com.google.analytics.admin.v1alpha.BigQueryLink) resource_; + } + return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); + } + /** + * + * + *
+     * A snapshot of a BigQuery link resource in change history.
+     * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkOrBuilder() { + if (resourceCase_ == 23) { + return (com.google.analytics.admin.v1alpha.BigQueryLink) resource_; + } + return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1549,12 +1818,21 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage( 15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); } + if (resourceCase_ == 16) { + output.writeMessage(16, (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_); + } if (resourceCase_ == 18) { output.writeMessage(18, (com.google.analytics.admin.v1alpha.DataStream) resource_); } if (resourceCase_ == 20) { output.writeMessage(20, (com.google.analytics.admin.v1alpha.AttributionSettings) resource_); } + if (resourceCase_ == 21) { + output.writeMessage(21, (com.google.analytics.admin.v1alpha.ExpandedDataSet) resource_); + } + if (resourceCase_ == 23) { + output.writeMessage(23, (com.google.analytics.admin.v1alpha.BigQueryLink) resource_); + } getUnknownFields().writeTo(output); } @@ -1626,6 +1904,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); } + if (resourceCase_ == 16) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_); + } if (resourceCase_ == 18) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -1636,6 +1919,16 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 20, (com.google.analytics.admin.v1alpha.AttributionSettings) resource_); } + if (resourceCase_ == 21) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, (com.google.analytics.admin.v1alpha.ExpandedDataSet) resource_); + } + if (resourceCase_ == 23) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 23, (com.google.analytics.admin.v1alpha.BigQueryLink) resource_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1695,12 +1988,21 @@ public boolean equals(final java.lang.Object obj) { case 15: if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; break; + case 16: + if (!getSearchAds360Link().equals(other.getSearchAds360Link())) return false; + break; case 18: if (!getDataStream().equals(other.getDataStream())) return false; break; case 20: if (!getAttributionSettings().equals(other.getAttributionSettings())) return false; break; + case 21: + if (!getExpandedDataSet().equals(other.getExpandedDataSet())) return false; + break; + case 23: + if (!getBigqueryLink().equals(other.getBigqueryLink())) return false; + break; case 0: default: } @@ -1764,6 +2066,10 @@ public int hashCode() { hash = (37 * hash) + DATA_RETENTION_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getDataRetentionSettings().hashCode(); break; + case 16: + hash = (37 * hash) + SEARCH_ADS_360_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSearchAds360Link().hashCode(); + break; case 18: hash = (37 * hash) + DATA_STREAM_FIELD_NUMBER; hash = (53 * hash) + getDataStream().hashCode(); @@ -1772,6 +2078,14 @@ public int hashCode() { hash = (37 * hash) + ATTRIBUTION_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getAttributionSettings().hashCode(); break; + case 21: + hash = (37 * hash) + EXPANDED_DATA_SET_FIELD_NUMBER; + hash = (53 * hash) + getExpandedDataSet().hashCode(); + break; + case 23: + hash = (37 * hash) + BIGQUERY_LINK_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryLink().hashCode(); + break; case 0: default: } @@ -1963,12 +2277,21 @@ public Builder clear() { if (dataRetentionSettingsBuilder_ != null) { dataRetentionSettingsBuilder_.clear(); } + if (searchAds360LinkBuilder_ != null) { + searchAds360LinkBuilder_.clear(); + } if (dataStreamBuilder_ != null) { dataStreamBuilder_.clear(); } if (attributionSettingsBuilder_ != null) { attributionSettingsBuilder_.clear(); } + if (expandedDataSetBuilder_ != null) { + expandedDataSetBuilder_.clear(); + } + if (bigqueryLinkBuilder_ != null) { + bigqueryLinkBuilder_.clear(); + } resourceCase_ = 0; resource_ = null; return this; @@ -2055,12 +2378,21 @@ private void buildPartialOneofs( if (resourceCase_ == 15 && dataRetentionSettingsBuilder_ != null) { result.resource_ = dataRetentionSettingsBuilder_.build(); } + if (resourceCase_ == 16 && searchAds360LinkBuilder_ != null) { + result.resource_ = searchAds360LinkBuilder_.build(); + } if (resourceCase_ == 18 && dataStreamBuilder_ != null) { result.resource_ = dataStreamBuilder_.build(); } if (resourceCase_ == 20 && attributionSettingsBuilder_ != null) { result.resource_ = attributionSettingsBuilder_.build(); } + if (resourceCase_ == 21 && expandedDataSetBuilder_ != null) { + result.resource_ = expandedDataSetBuilder_.build(); + } + if (resourceCase_ == 23 && bigqueryLinkBuilder_ != null) { + result.resource_ = bigqueryLinkBuilder_.build(); + } } @java.lang.Override @@ -2178,6 +2510,11 @@ public Builder mergeFrom( mergeDataRetentionSettings(other.getDataRetentionSettings()); break; } + case SEARCH_ADS_360_LINK: + { + mergeSearchAds360Link(other.getSearchAds360Link()); + break; + } case DATA_STREAM: { mergeDataStream(other.getDataStream()); @@ -2188,6 +2525,16 @@ public Builder mergeFrom( mergeAttributionSettings(other.getAttributionSettings()); break; } + case EXPANDED_DATA_SET: + { + mergeExpandedDataSet(other.getExpandedDataSet()); + break; + } + case BIGQUERY_LINK: + { + mergeBigqueryLink(other.getBigqueryLink()); + break; + } case RESOURCE_NOT_SET: { break; @@ -2300,6 +2647,13 @@ public Builder mergeFrom( resourceCase_ = 15; break; } // case 122 + case 130: + { + input.readMessage( + getSearchAds360LinkFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 16; + break; + } // case 130 case 146: { input.readMessage(getDataStreamFieldBuilder().getBuilder(), extensionRegistry); @@ -2313,6 +2667,19 @@ public Builder mergeFrom( resourceCase_ = 20; break; } // case 162 + case 170: + { + input.readMessage( + getExpandedDataSetFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 21; + break; + } // case 170 + case 186: + { + input.readMessage(getBigqueryLinkFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 23; + break; + } // case 186 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -5010,108 +5377,111 @@ public Builder clearDataRetentionSettings() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder> - dataStreamBuilder_; + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + searchAds360LinkBuilder_; /** * * *
-       * A snapshot of a DataStream resource in change history.
+       * A snapshot of a SearchAds360Link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; * - * @return Whether the dataStream field is set. + * @return Whether the searchAds360Link field is set. */ @java.lang.Override - public boolean hasDataStream() { - return resourceCase_ == 18; + public boolean hasSearchAds360Link() { + return resourceCase_ == 16; } /** * * *
-       * A snapshot of a DataStream resource in change history.
+       * A snapshot of a SearchAds360Link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; * - * @return The dataStream. + * @return The searchAds360Link. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream getDataStream() { - if (dataStreamBuilder_ == null) { - if (resourceCase_ == 18) { - return (com.google.analytics.admin.v1alpha.DataStream) resource_; + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link() { + if (searchAds360LinkBuilder_ == null) { + if (resourceCase_ == 16) { + return (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_; } - return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); } else { - if (resourceCase_ == 18) { - return dataStreamBuilder_.getMessage(); + if (resourceCase_ == 16) { + return searchAds360LinkBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); } } /** * * *
-       * A snapshot of a DataStream resource in change history.
+       * A snapshot of a SearchAds360Link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; */ - public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value) { - if (dataStreamBuilder_ == null) { + public Builder setSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resource_ = value; onChanged(); } else { - dataStreamBuilder_.setMessage(value); + searchAds360LinkBuilder_.setMessage(value); } - resourceCase_ = 18; + resourceCase_ = 16; return this; } /** * * *
-       * A snapshot of a DataStream resource in change history.
+       * A snapshot of a SearchAds360Link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; */ - public Builder setDataStream( - com.google.analytics.admin.v1alpha.DataStream.Builder builderForValue) { - if (dataStreamBuilder_ == null) { + public Builder setSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { + if (searchAds360LinkBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); } else { - dataStreamBuilder_.setMessage(builderForValue.build()); + searchAds360LinkBuilder_.setMessage(builderForValue.build()); } - resourceCase_ = 18; + resourceCase_ = 16; return this; } /** * * *
-       * A snapshot of a DataStream resource in change history.
+       * A snapshot of a SearchAds360Link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; */ - public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream value) { - if (dataStreamBuilder_ == null) { - if (resourceCase_ == 18 - && resource_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { + public Builder mergeSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinkBuilder_ == null) { + if (resourceCase_ == 16 + && resource_ + != com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) { resource_ = - com.google.analytics.admin.v1alpha.DataStream.newBuilder( - (com.google.analytics.admin.v1alpha.DataStream) resource_) + com.google.analytics.admin.v1alpha.SearchAds360Link.newBuilder( + (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_) .mergeFrom(value) .buildPartial(); } else { @@ -5119,20 +5489,231 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val } onChanged(); } else { - if (resourceCase_ == 18) { - dataStreamBuilder_.mergeFrom(value); + if (resourceCase_ == 16) { + searchAds360LinkBuilder_.mergeFrom(value); } else { - dataStreamBuilder_.setMessage(value); + searchAds360LinkBuilder_.setMessage(value); } } - resourceCase_ = 18; + resourceCase_ = 16; return this; } /** * * *
-       * A snapshot of a DataStream resource in change history.
+       * A snapshot of a SearchAds360Link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + public Builder clearSearchAds360Link() { + if (searchAds360LinkBuilder_ == null) { + if (resourceCase_ == 16) { + resourceCase_ = 0; + resource_ = null; + onChanged(); + } + } else { + if (resourceCase_ == 16) { + resourceCase_ = 0; + resource_ = null; + } + searchAds360LinkBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * A snapshot of a SearchAds360Link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder + getSearchAds360LinkBuilder() { + return getSearchAds360LinkFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * A snapshot of a SearchAds360Link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinkOrBuilder() { + if ((resourceCase_ == 16) && (searchAds360LinkBuilder_ != null)) { + return searchAds360LinkBuilder_.getMessageOrBuilder(); + } else { + if (resourceCase_ == 16) { + return (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_; + } + return com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); + } + } + /** + * + * + *
+       * A snapshot of a SearchAds360Link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + getSearchAds360LinkFieldBuilder() { + if (searchAds360LinkBuilder_ == null) { + if (!(resourceCase_ == 16)) { + resource_ = com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); + } + searchAds360LinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder>( + (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_, + getParentForChildren(), + isClean()); + resource_ = null; + } + resourceCase_ = 16; + onChanged(); + return searchAds360LinkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + dataStreamBuilder_; + /** + * + * + *
+       * A snapshot of a DataStream resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * + * @return Whether the dataStream field is set. + */ + @java.lang.Override + public boolean hasDataStream() { + return resourceCase_ == 18; + } + /** + * + * + *
+       * A snapshot of a DataStream resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * + * @return The dataStream. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream getDataStream() { + if (dataStreamBuilder_ == null) { + if (resourceCase_ == 18) { + return (com.google.analytics.admin.v1alpha.DataStream) resource_; + } + return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); + } else { + if (resourceCase_ == 18) { + return dataStreamBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); + } + } + /** + * + * + *
+       * A snapshot of a DataStream resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + */ + public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value) { + if (dataStreamBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + onChanged(); + } else { + dataStreamBuilder_.setMessage(value); + } + resourceCase_ = 18; + return this; + } + /** + * + * + *
+       * A snapshot of a DataStream resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + */ + public Builder setDataStream( + com.google.analytics.admin.v1alpha.DataStream.Builder builderForValue) { + if (dataStreamBuilder_ == null) { + resource_ = builderForValue.build(); + onChanged(); + } else { + dataStreamBuilder_.setMessage(builderForValue.build()); + } + resourceCase_ = 18; + return this; + } + /** + * + * + *
+       * A snapshot of a DataStream resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + */ + public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream value) { + if (dataStreamBuilder_ == null) { + if (resourceCase_ == 18 + && resource_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.DataStream.newBuilder( + (com.google.analytics.admin.v1alpha.DataStream) resource_) + .mergeFrom(value) + .buildPartial(); + } else { + resource_ = value; + } + onChanged(); + } else { + if (resourceCase_ == 18) { + dataStreamBuilder_.mergeFrom(value); + } else { + dataStreamBuilder_.setMessage(value); + } + } + resourceCase_ = 18; + return this; + } + /** + * + * + *
+       * A snapshot of a DataStream resource in change history.
        * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 18; @@ -5432,6 +6013,429 @@ public Builder clearAttributionSettings() { return attributionSettingsBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSet, + com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder> + expandedDataSetBuilder_; + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + * + * @return Whether the expandedDataSet field is set. + */ + @java.lang.Override + public boolean hasExpandedDataSet() { + return resourceCase_ == 21; + } + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + * + * @return The expandedDataSet. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { + if (expandedDataSetBuilder_ == null) { + if (resourceCase_ == 21) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSet) resource_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance(); + } else { + if (resourceCase_ == 21) { + return expandedDataSetBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance(); + } + } + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + public Builder setExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDataSet value) { + if (expandedDataSetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + onChanged(); + } else { + expandedDataSetBuilder_.setMessage(value); + } + resourceCase_ = 21; + return this; + } + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + public Builder setExpandedDataSet( + com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder builderForValue) { + if (expandedDataSetBuilder_ == null) { + resource_ = builderForValue.build(); + onChanged(); + } else { + expandedDataSetBuilder_.setMessage(builderForValue.build()); + } + resourceCase_ = 21; + return this; + } + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + public Builder mergeExpandedDataSet( + com.google.analytics.admin.v1alpha.ExpandedDataSet value) { + if (expandedDataSetBuilder_ == null) { + if (resourceCase_ == 21 + && resource_ + != com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.ExpandedDataSet.newBuilder( + (com.google.analytics.admin.v1alpha.ExpandedDataSet) resource_) + .mergeFrom(value) + .buildPartial(); + } else { + resource_ = value; + } + onChanged(); + } else { + if (resourceCase_ == 21) { + expandedDataSetBuilder_.mergeFrom(value); + } else { + expandedDataSetBuilder_.setMessage(value); + } + } + resourceCase_ = 21; + return this; + } + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + public Builder clearExpandedDataSet() { + if (expandedDataSetBuilder_ == null) { + if (resourceCase_ == 21) { + resourceCase_ = 0; + resource_ = null; + onChanged(); + } + } else { + if (resourceCase_ == 21) { + resourceCase_ = 0; + resource_ = null; + } + expandedDataSetBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder + getExpandedDataSetBuilder() { + return getExpandedDataSetFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder + getExpandedDataSetOrBuilder() { + if ((resourceCase_ == 21) && (expandedDataSetBuilder_ != null)) { + return expandedDataSetBuilder_.getMessageOrBuilder(); + } else { + if (resourceCase_ == 21) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSet) resource_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance(); + } + } + /** + * + * + *
+       * A snapshot of an ExpandedDataSet resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSet, + com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder> + getExpandedDataSetFieldBuilder() { + if (expandedDataSetBuilder_ == null) { + if (!(resourceCase_ == 21)) { + resource_ = com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance(); + } + expandedDataSetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSet, + com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder>( + (com.google.analytics.admin.v1alpha.ExpandedDataSet) resource_, + getParentForChildren(), + isClean()); + resource_ = null; + } + resourceCase_ = 21; + onChanged(); + return expandedDataSetBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.BigQueryLink, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder, + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder> + bigqueryLinkBuilder_; + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + * + * @return Whether the bigqueryLink field is set. + */ + @java.lang.Override + public boolean hasBigqueryLink() { + return resourceCase_ == 23; + } + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + * + * @return The bigqueryLink. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLink() { + if (bigqueryLinkBuilder_ == null) { + if (resourceCase_ == 23) { + return (com.google.analytics.admin.v1alpha.BigQueryLink) resource_; + } + return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); + } else { + if (resourceCase_ == 23) { + return bigqueryLinkBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); + } + } + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + public Builder setBigqueryLink(com.google.analytics.admin.v1alpha.BigQueryLink value) { + if (bigqueryLinkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + onChanged(); + } else { + bigqueryLinkBuilder_.setMessage(value); + } + resourceCase_ = 23; + return this; + } + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + public Builder setBigqueryLink( + com.google.analytics.admin.v1alpha.BigQueryLink.Builder builderForValue) { + if (bigqueryLinkBuilder_ == null) { + resource_ = builderForValue.build(); + onChanged(); + } else { + bigqueryLinkBuilder_.setMessage(builderForValue.build()); + } + resourceCase_ = 23; + return this; + } + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + public Builder mergeBigqueryLink(com.google.analytics.admin.v1alpha.BigQueryLink value) { + if (bigqueryLinkBuilder_ == null) { + if (resourceCase_ == 23 + && resource_ + != com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.BigQueryLink.newBuilder( + (com.google.analytics.admin.v1alpha.BigQueryLink) resource_) + .mergeFrom(value) + .buildPartial(); + } else { + resource_ = value; + } + onChanged(); + } else { + if (resourceCase_ == 23) { + bigqueryLinkBuilder_.mergeFrom(value); + } else { + bigqueryLinkBuilder_.setMessage(value); + } + } + resourceCase_ = 23; + return this; + } + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + public Builder clearBigqueryLink() { + if (bigqueryLinkBuilder_ == null) { + if (resourceCase_ == 23) { + resourceCase_ = 0; + resource_ = null; + onChanged(); + } + } else { + if (resourceCase_ == 23) { + resourceCase_ = 0; + resource_ = null; + } + bigqueryLinkBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + public com.google.analytics.admin.v1alpha.BigQueryLink.Builder getBigqueryLinkBuilder() { + return getBigqueryLinkFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkOrBuilder() { + if ((resourceCase_ == 23) && (bigqueryLinkBuilder_ != null)) { + return bigqueryLinkBuilder_.getMessageOrBuilder(); + } else { + if (resourceCase_ == 23) { + return (com.google.analytics.admin.v1alpha.BigQueryLink) resource_; + } + return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); + } + } + /** + * + * + *
+       * A snapshot of a BigQuery link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.BigQueryLink, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder, + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder> + getBigqueryLinkFieldBuilder() { + if (bigqueryLinkBuilder_ == null) { + if (!(resourceCase_ == 23)) { + resource_ = com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); + } + bigqueryLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.BigQueryLink, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder, + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder>( + (com.google.analytics.admin.v1alpha.BigQueryLink) resource_, + getParentForChildren(), + isClean()); + resource_ = null; + } + resourceCase_ = 23; + onChanged(); + return bigqueryLinkBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java index 55c4efb119f3..2ba102683dbc 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java @@ -188,6 +188,26 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes * ATTRIBUTION_SETTINGS = 20; */ ATTRIBUTION_SETTINGS(20), + /** + * + * + *
+   * ExpandedDataSet resource
+   * 
+ * + * EXPANDED_DATA_SET = 21; + */ + EXPANDED_DATA_SET(21), + /** + * + * + *
+   * ChannelGroup resource
+   * 
+ * + * CHANNEL_GROUP = 22; + */ + CHANNEL_GROUP(22), UNRECOGNIZED(-1), ; @@ -351,6 +371,26 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes * ATTRIBUTION_SETTINGS = 20; */ public static final int ATTRIBUTION_SETTINGS_VALUE = 20; + /** + * + * + *
+   * ExpandedDataSet resource
+   * 
+ * + * EXPANDED_DATA_SET = 21; + */ + public static final int EXPANDED_DATA_SET_VALUE = 21; + /** + * + * + *
+   * ChannelGroup resource
+   * 
+ * + * CHANNEL_GROUP = 22; + */ + public static final int CHANNEL_GROUP_VALUE = 22; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -408,6 +448,10 @@ public static ChangeHistoryResourceType forNumber(int value) { return DATA_STREAM; case 20: return ATTRIBUTION_SETTINGS; + case 21: + return EXPANDED_DATA_SET; + case 22: + return CHANNEL_GROUP; default: return null; } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java index d059f7680514..8ab32d36f202 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java @@ -229,7 +229,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+   * Output only. If set, this event can currently be deleted via
+   * DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -247,11 +248,11 @@ public boolean getDeletable() { * * *
-   * Output only. If set to true, this conversion event refers to a custom event.  If set to
-   * false, this conversion event refers to a default event in GA. Default
-   * events typically have special meaning in GA. Default events are usually
-   * created for you by the GA system, but in some cases can be created by
-   * property admins. Custom events count towards the maximum number of
+   * Output only. If set to true, this conversion event refers to a custom
+   * event.  If set to false, this conversion event refers to a default event in
+   * GA. Default events typically have special meaning in GA. Default events are
+   * usually created for you by the GA system, but in some cases can be created
+   * by property admins. Custom events count towards the maximum number of
    * custom conversion events that may be created per property.
    * 
* @@ -1133,7 +1134,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+     * Output only. If set, this event can currently be deleted via
+     * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1148,7 +1150,8 @@ public boolean getDeletable() { * * *
-     * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+     * Output only. If set, this event can currently be deleted via
+     * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1167,7 +1170,8 @@ public Builder setDeletable(boolean value) { * * *
-     * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+     * Output only. If set, this event can currently be deleted via
+     * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1186,11 +1190,11 @@ public Builder clearDeletable() { * * *
-     * Output only. If set to true, this conversion event refers to a custom event.  If set to
-     * false, this conversion event refers to a default event in GA. Default
-     * events typically have special meaning in GA. Default events are usually
-     * created for you by the GA system, but in some cases can be created by
-     * property admins. Custom events count towards the maximum number of
+     * Output only. If set to true, this conversion event refers to a custom
+     * event.  If set to false, this conversion event refers to a default event in
+     * GA. Default events typically have special meaning in GA. Default events are
+     * usually created for you by the GA system, but in some cases can be created
+     * by property admins. Custom events count towards the maximum number of
      * custom conversion events that may be created per property.
      * 
* @@ -1206,11 +1210,11 @@ public boolean getCustom() { * * *
-     * Output only. If set to true, this conversion event refers to a custom event.  If set to
-     * false, this conversion event refers to a default event in GA. Default
-     * events typically have special meaning in GA. Default events are usually
-     * created for you by the GA system, but in some cases can be created by
-     * property admins. Custom events count towards the maximum number of
+     * Output only. If set to true, this conversion event refers to a custom
+     * event.  If set to false, this conversion event refers to a default event in
+     * GA. Default events typically have special meaning in GA. Default events are
+     * usually created for you by the GA system, but in some cases can be created
+     * by property admins. Custom events count towards the maximum number of
      * custom conversion events that may be created per property.
      * 
* @@ -1230,11 +1234,11 @@ public Builder setCustom(boolean value) { * * *
-     * Output only. If set to true, this conversion event refers to a custom event.  If set to
-     * false, this conversion event refers to a default event in GA. Default
-     * events typically have special meaning in GA. Default events are usually
-     * created for you by the GA system, but in some cases can be created by
-     * property admins. Custom events count towards the maximum number of
+     * Output only. If set to true, this conversion event refers to a custom
+     * event.  If set to false, this conversion event refers to a default event in
+     * GA. Default events typically have special meaning in GA. Default events are
+     * usually created for you by the GA system, but in some cases can be created
+     * by property admins. Custom events count towards the maximum number of
      * custom conversion events that may be created per property.
      * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java index b42b2f98fd2a..3ff0908dc8b6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java @@ -119,7 +119,8 @@ public interface ConversionEventOrBuilder * * *
-   * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+   * Output only. If set, this event can currently be deleted via
+   * DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -132,11 +133,11 @@ public interface ConversionEventOrBuilder * * *
-   * Output only. If set to true, this conversion event refers to a custom event.  If set to
-   * false, this conversion event refers to a default event in GA. Default
-   * events typically have special meaning in GA. Default events are usually
-   * created for you by the GA system, but in some cases can be created by
-   * property admins. Custom events count towards the maximum number of
+   * Output only. If set to true, this conversion event refers to a custom
+   * event.  If set to false, this conversion event refers to a default event in
+   * GA. Default events typically have special meaning in GA. Default events are
+   * usually created for you by the GA system, but in some cases can be created
+   * by property admins. Custom events count towards the maximum number of
    * custom conversion events that may be created per property.
    * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java index 0b8c7c959f5f..38e25ce201cf 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java @@ -131,8 +131,8 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion * * *
-   * Required. The resource name of the parent property where this conversion event will
-   * be created. Format: properties/123
+   * Required. The resource name of the parent property where this conversion
+   * event will be created. Format: properties/123
    * 
* * @@ -157,8 +157,8 @@ public java.lang.String getParent() { * * *
-   * Required. The resource name of the parent property where this conversion event will
-   * be created. Format: properties/123
+   * Required. The resource name of the parent property where this conversion
+   * event will be created. Format: properties/123
    * 
* * @@ -768,8 +768,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE * * *
-     * Required. The resource name of the parent property where this conversion event will
-     * be created. Format: properties/123
+     * Required. The resource name of the parent property where this conversion
+     * event will be created. Format: properties/123
      * 
* * @@ -793,8 +793,8 @@ public java.lang.String getParent() { * * *
-     * Required. The resource name of the parent property where this conversion event will
-     * be created. Format: properties/123
+     * Required. The resource name of the parent property where this conversion
+     * event will be created. Format: properties/123
      * 
* * @@ -818,8 +818,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The resource name of the parent property where this conversion event will
-     * be created. Format: properties/123
+     * Required. The resource name of the parent property where this conversion
+     * event will be created. Format: properties/123
      * 
* * @@ -842,8 +842,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The resource name of the parent property where this conversion event will
-     * be created. Format: properties/123
+     * Required. The resource name of the parent property where this conversion
+     * event will be created. Format: properties/123
      * 
* * @@ -862,8 +862,8 @@ public Builder clearParent() { * * *
-     * Required. The resource name of the parent property where this conversion event will
-     * be created. Format: properties/123
+     * Required. The resource name of the parent property where this conversion
+     * event will be created. Format: properties/123
      * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java index 9efd85dcee65..2acd6f2a5931 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java @@ -68,8 +68,8 @@ public interface CreateConversionEventRequestOrBuilder * * *
-   * Required. The resource name of the parent property where this conversion event will
-   * be created. Format: properties/123
+   * Required. The resource name of the parent property where this conversion
+   * event will be created. Format: properties/123
    * 
* * @@ -83,8 +83,8 @@ public interface CreateConversionEventRequestOrBuilder * * *
-   * Required. The resource name of the parent property where this conversion event will
-   * be created. Format: properties/123
+   * Required. The resource name of the parent property where this conversion
+   * event will be created. Format: properties/123
    * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java new file mode 100644 index 000000000000..0f07e9221caf --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java @@ -0,0 +1,947 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Request message for CreateSearchAds360Link RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest} + */ +public final class CreateSearchAds360LinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) + CreateSearchAds360LinkRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateSearchAds360LinkRequest.newBuilder() to construct. + private CreateSearchAds360LinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateSearchAds360LinkRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateSearchAds360LinkRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.class, + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SEARCH_ADS_360_LINK_FIELD_NUMBER = 2; + private com.google.analytics.admin.v1alpha.SearchAds360Link searchAds360Link_; + /** + * + * + *
+   * Required. The SearchAds360Link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchAds360Link field is set. + */ + @java.lang.Override + public boolean hasSearchAds360Link() { + return searchAds360Link_ != null; + } + /** + * + * + *
+   * Required. The SearchAds360Link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchAds360Link. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link() { + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; + } + /** + * + * + *
+   * Required. The SearchAds360Link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinkOrBuilder() { + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; + } + + 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(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (searchAds360Link_ != null) { + output.writeMessage(2, getSearchAds360Link()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (searchAds360Link_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSearchAds360Link()); + } + size += getUnknownFields().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.CreateSearchAds360LinkRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest other = + (com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasSearchAds360Link() != other.hasSearchAds360Link()) return false; + if (hasSearchAds360Link()) { + if (!getSearchAds360Link().equals(other.getSearchAds360Link())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasSearchAds360Link()) { + hash = (37 * hash) + SEARCH_ADS_360_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSearchAds360Link().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest 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.CreateSearchAds360LinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest parseFrom( + 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.CreateSearchAds360LinkRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest 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.CreateSearchAds360LinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest 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.CreateSearchAds360LinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest 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.CreateSearchAds360LinkRequest 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.CreateSearchAds360LinkRequest 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.CreateSearchAds360LinkRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for CreateSearchAds360Link RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.class, + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + searchAds360Link_ = null; + if (searchAds360LinkBuilder_ != null) { + searchAds360LinkBuilder_.dispose(); + searchAds360LinkBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest build() { + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest result = + new com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.searchAds360Link_ = + searchAds360LinkBuilder_ == null ? searchAds360Link_ : searchAds360LinkBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasSearchAds360Link()) { + mergeSearchAds360Link(other.getSearchAds360Link()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getSearchAds360LinkFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.analytics.admin.v1alpha.SearchAds360Link searchAds360Link_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + searchAds360LinkBuilder_; + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchAds360Link field is set. + */ + public boolean hasSearchAds360Link() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchAds360Link. + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link() { + if (searchAds360LinkBuilder_ == null) { + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; + } else { + return searchAds360LinkBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchAds360Link_ = value; + } else { + searchAds360LinkBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { + if (searchAds360LinkBuilder_ == null) { + searchAds360Link_ = builderForValue.build(); + } else { + searchAds360LinkBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinkBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && searchAds360Link_ != null + && searchAds360Link_ + != com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) { + getSearchAds360LinkBuilder().mergeFrom(value); + } else { + searchAds360Link_ = value; + } + } else { + searchAds360LinkBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSearchAds360Link() { + bitField0_ = (bitField0_ & ~0x00000002); + searchAds360Link_ = null; + if (searchAds360LinkBuilder_ != null) { + searchAds360LinkBuilder_.dispose(); + searchAds360LinkBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder + getSearchAds360LinkBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSearchAds360LinkFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinkOrBuilder() { + if (searchAds360LinkBuilder_ != null) { + return searchAds360LinkBuilder_.getMessageOrBuilder(); + } else { + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; + } + } + /** + * + * + *
+     * Required. The SearchAds360Link to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + getSearchAds360LinkFieldBuilder() { + if (searchAds360LinkBuilder_ == null) { + searchAds360LinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder>( + getSearchAds360Link(), getParentForChildren(), isClean()); + searchAds360Link_ = null; + } + return searchAds360LinkBuilder_; + } + + @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.CreateSearchAds360LinkRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) + private static final com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest(); + } + + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSearchAds360LinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java new file mode 100644 index 000000000000..e6efefa864a7 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface CreateSearchAds360LinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The SearchAds360Link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchAds360Link field is set. + */ + boolean hasSearchAds360Link(); + /** + * + * + *
+   * Required. The SearchAds360Link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchAds360Link. + */ + com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link(); + /** + * + * + *
+   * Required. The SearchAds360Link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java index 78dee828712c..d72af5606b17 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java @@ -134,8 +134,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. If set, then email the new user notifying them that they've been granted
-   * permissions to the resource.
+   * Optional. If set, then email the new user notifying them that they've been
+   * granted permissions to the resource.
    * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -726,8 +726,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. If set, then email the new user notifying them that they've been granted
-     * permissions to the resource.
+     * Optional. If set, then email the new user notifying them that they've been
+     * granted permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -742,8 +742,8 @@ public boolean getNotifyNewUser() { * * *
-     * Optional. If set, then email the new user notifying them that they've been granted
-     * permissions to the resource.
+     * Optional. If set, then email the new user notifying them that they've been
+     * granted permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -762,8 +762,8 @@ public Builder setNotifyNewUser(boolean value) { * * *
-     * Optional. If set, then email the new user notifying them that they've been granted
-     * permissions to the resource.
+     * Optional. If set, then email the new user notifying them that they've been
+     * granted permissions to the resource.
      * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java index c6291c96544d..80da15470e21 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java @@ -56,8 +56,8 @@ public interface CreateUserLinkRequestOrBuilder * * *
-   * Optional. If set, then email the new user notifying them that they've been granted
-   * permissions to the resource.
+   * Optional. If set, then email the new user notifying them that they've been
+   * granted permissions to the resource.
    * 
* * bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java index a2cc64b9d68a..4d415f85d15f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java @@ -358,8 +358,8 @@ public com.google.protobuf.ByteString getParameterNameBytes() { * * *
-   * Required. Display name for this custom dimension as shown in the Analytics UI.
-   * Max length of 82 characters, alphanumeric plus space and underscore
+   * Required. Display name for this custom dimension as shown in the Analytics
+   * UI. Max length of 82 characters, alphanumeric plus space and underscore
    * starting with a letter. Legacy system-generated display names may contain
    * square brackets, but updates to this field will never permit square
    * brackets.
@@ -385,8 +385,8 @@ public java.lang.String getDisplayName() {
    *
    *
    * 
-   * Required. Display name for this custom dimension as shown in the Analytics UI.
-   * Max length of 82 characters, alphanumeric plus space and underscore
+   * Required. Display name for this custom dimension as shown in the Analytics
+   * UI. Max length of 82 characters, alphanumeric plus space and underscore
    * starting with a letter. Legacy system-generated display names may contain
    * square brackets, but updates to this field will never permit square
    * brackets.
@@ -417,7 +417,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    *
    *
    * 
-   * Optional. Description for this custom dimension. Max length of 150 characters.
+   * Optional. Description for this custom dimension. Max length of 150
+   * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -440,7 +441,8 @@ public java.lang.String getDescription() { * * *
-   * Optional. Description for this custom dimension. Max length of 150 characters.
+   * Optional. Description for this custom dimension. Max length of 150
+   * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -507,8 +509,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScop * * *
-   * Optional. If set to true, sets this dimension as NPA and excludes it from ads
-   * personalization.
+   * Optional. If set to true, sets this dimension as NPA and excludes it from
+   * ads personalization.
    * This is currently only supported by user-scoped custom dimensions.
    * 
* @@ -1247,8 +1249,8 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Display name for this custom dimension as shown in the Analytics UI.
-     * Max length of 82 characters, alphanumeric plus space and underscore
+     * Required. Display name for this custom dimension as shown in the Analytics
+     * UI. Max length of 82 characters, alphanumeric plus space and underscore
      * starting with a letter. Legacy system-generated display names may contain
      * square brackets, but updates to this field will never permit square
      * brackets.
@@ -1273,8 +1275,8 @@ public java.lang.String getDisplayName() {
      *
      *
      * 
-     * Required. Display name for this custom dimension as shown in the Analytics UI.
-     * Max length of 82 characters, alphanumeric plus space and underscore
+     * Required. Display name for this custom dimension as shown in the Analytics
+     * UI. Max length of 82 characters, alphanumeric plus space and underscore
      * starting with a letter. Legacy system-generated display names may contain
      * square brackets, but updates to this field will never permit square
      * brackets.
@@ -1299,8 +1301,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      *
      *
      * 
-     * Required. Display name for this custom dimension as shown in the Analytics UI.
-     * Max length of 82 characters, alphanumeric plus space and underscore
+     * Required. Display name for this custom dimension as shown in the Analytics
+     * UI. Max length of 82 characters, alphanumeric plus space and underscore
      * starting with a letter. Legacy system-generated display names may contain
      * square brackets, but updates to this field will never permit square
      * brackets.
@@ -1324,8 +1326,8 @@ public Builder setDisplayName(java.lang.String value) {
      *
      *
      * 
-     * Required. Display name for this custom dimension as shown in the Analytics UI.
-     * Max length of 82 characters, alphanumeric plus space and underscore
+     * Required. Display name for this custom dimension as shown in the Analytics
+     * UI. Max length of 82 characters, alphanumeric plus space and underscore
      * starting with a letter. Legacy system-generated display names may contain
      * square brackets, but updates to this field will never permit square
      * brackets.
@@ -1345,8 +1347,8 @@ public Builder clearDisplayName() {
      *
      *
      * 
-     * Required. Display name for this custom dimension as shown in the Analytics UI.
-     * Max length of 82 characters, alphanumeric plus space and underscore
+     * Required. Display name for this custom dimension as shown in the Analytics
+     * UI. Max length of 82 characters, alphanumeric plus space and underscore
      * starting with a letter. Legacy system-generated display names may contain
      * square brackets, but updates to this field will never permit square
      * brackets.
@@ -1373,7 +1375,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Optional. Description for this custom dimension. Max length of 150 characters.
+     * Optional. Description for this custom dimension. Max length of 150
+     * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1395,7 +1398,8 @@ public java.lang.String getDescription() { * * *
-     * Optional. Description for this custom dimension. Max length of 150 characters.
+     * Optional. Description for this custom dimension. Max length of 150
+     * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1417,7 +1421,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Optional. Description for this custom dimension. Max length of 150 characters.
+     * Optional. Description for this custom dimension. Max length of 150
+     * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1438,7 +1443,8 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Optional. Description for this custom dimension. Max length of 150 characters.
+     * Optional. Description for this custom dimension. Max length of 150
+     * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1455,7 +1461,8 @@ public Builder clearDescription() { * * *
-     * Optional. Description for this custom dimension. Max length of 150 characters.
+     * Optional. Description for this custom dimension. Max length of 150
+     * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1582,8 +1589,8 @@ public Builder clearScope() { * * *
-     * Optional. If set to true, sets this dimension as NPA and excludes it from ads
-     * personalization.
+     * Optional. If set to true, sets this dimension as NPA and excludes it from
+     * ads personalization.
      * This is currently only supported by user-scoped custom dimensions.
      * 
* @@ -1599,8 +1606,8 @@ public boolean getDisallowAdsPersonalization() { * * *
-     * Optional. If set to true, sets this dimension as NPA and excludes it from ads
-     * personalization.
+     * Optional. If set to true, sets this dimension as NPA and excludes it from
+     * ads personalization.
      * This is currently only supported by user-scoped custom dimensions.
      * 
* @@ -1620,8 +1627,8 @@ public Builder setDisallowAdsPersonalization(boolean value) { * * *
-     * Optional. If set to true, sets this dimension as NPA and excludes it from ads
-     * personalization.
+     * Optional. If set to true, sets this dimension as NPA and excludes it from
+     * ads personalization.
      * This is currently only supported by user-scoped custom dimensions.
      * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java index a7041dc5b340..e7286aac6bf2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java @@ -95,8 +95,8 @@ public interface CustomDimensionOrBuilder * * *
-   * Required. Display name for this custom dimension as shown in the Analytics UI.
-   * Max length of 82 characters, alphanumeric plus space and underscore
+   * Required. Display name for this custom dimension as shown in the Analytics
+   * UI. Max length of 82 characters, alphanumeric plus space and underscore
    * starting with a letter. Legacy system-generated display names may contain
    * square brackets, but updates to this field will never permit square
    * brackets.
@@ -111,8 +111,8 @@ public interface CustomDimensionOrBuilder
    *
    *
    * 
-   * Required. Display name for this custom dimension as shown in the Analytics UI.
-   * Max length of 82 characters, alphanumeric plus space and underscore
+   * Required. Display name for this custom dimension as shown in the Analytics
+   * UI. Max length of 82 characters, alphanumeric plus space and underscore
    * starting with a letter. Legacy system-generated display names may contain
    * square brackets, but updates to this field will never permit square
    * brackets.
@@ -128,7 +128,8 @@ public interface CustomDimensionOrBuilder
    *
    *
    * 
-   * Optional. Description for this custom dimension. Max length of 150 characters.
+   * Optional. Description for this custom dimension. Max length of 150
+   * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -140,7 +141,8 @@ public interface CustomDimensionOrBuilder * * *
-   * Optional. Description for this custom dimension. Max length of 150 characters.
+   * Optional. Description for this custom dimension. Max length of 150
+   * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -182,8 +184,8 @@ public interface CustomDimensionOrBuilder * * *
-   * Optional. If set to true, sets this dimension as NPA and excludes it from ads
-   * personalization.
+   * Optional. If set to true, sets this dimension as NPA and excludes it from
+   * ads personalization.
    * This is currently only supported by user-scoped custom dimensions.
    * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java index a43bcc5d779b..ba975e01d7f0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java @@ -1042,9 +1042,9 @@ public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType conv * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -1064,9 +1064,9 @@ public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType conv * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -1083,9 +1083,9 @@ public int getRestrictedMetricTypeCount() { * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -1104,9 +1104,9 @@ public int getRestrictedMetricTypeCount() { * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -1123,9 +1123,9 @@ public java.util.List getRestrictedMetricTypeValueList() { * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -2381,9 +2381,9 @@ private void ensureRestrictedMetricTypeIsMutable() { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2402,9 +2402,9 @@ private void ensureRestrictedMetricTypeIsMutable() { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2420,9 +2420,9 @@ public int getRestrictedMetricTypeCount() { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2440,9 +2440,9 @@ public int getRestrictedMetricTypeCount() { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2467,9 +2467,9 @@ public Builder setRestrictedMetricType( * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2493,9 +2493,9 @@ public Builder addRestrictedMetricType( * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2520,9 +2520,9 @@ public Builder addAllRestrictedMetricType( * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2541,9 +2541,9 @@ public Builder clearRestrictedMetricType() { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2559,9 +2559,9 @@ public java.util.List getRestrictedMetricTypeValueList() { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2578,9 +2578,9 @@ public int getRestrictedMetricTypeValue(int index) { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2601,9 +2601,9 @@ public Builder setRestrictedMetricTypeValue(int index, int value) { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * @@ -2623,9 +2623,9 @@ public Builder addRestrictedMetricTypeValue(int value) { * * *
-     * Optional. Types of restricted data that this metric may contain. Required for metrics
-     * with CURRENCY measurement unit. Must be empty for metrics with a
-     * non-CURRENCY measurement unit.
+     * Optional. Types of restricted data that this metric may contain. Required
+     * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+     * a non-CURRENCY measurement unit.
      * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java index f124a4763d22..0b5c3fe8dfc6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java @@ -209,9 +209,9 @@ public interface CustomMetricOrBuilder * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -226,9 +226,9 @@ public interface CustomMetricOrBuilder * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -242,9 +242,9 @@ public interface CustomMetricOrBuilder * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -260,9 +260,9 @@ com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrict * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * @@ -276,9 +276,9 @@ com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrict * * *
-   * Optional. Types of restricted data that this metric may contain. Required for metrics
-   * with CURRENCY measurement unit. Must be empty for metrics with a
-   * non-CURRENCY measurement unit.
+   * Optional. Types of restricted data that this metric may contain. Required
+   * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+   * a non-CURRENCY measurement unit.
    * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java new file mode 100644 index 000000000000..4938518abe83 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java @@ -0,0 +1,658 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Request message for DeleteSearchAds360Link RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest} + */ +public final class DeleteSearchAds360LinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) + DeleteSearchAds360LinkRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteSearchAds360LinkRequest.newBuilder() to construct. + private DeleteSearchAds360LinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteSearchAds360LinkRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteSearchAds360LinkRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the SearchAds360Link to delete.
+   * Example format: properties/1234/SearchAds360Links/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the SearchAds360Link to delete.
+   * Example format: properties/1234/SearchAds360Links/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().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.DeleteSearchAds360LinkRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest 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.DeleteSearchAds360LinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest parseFrom( + 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.DeleteSearchAds360LinkRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest 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.DeleteSearchAds360LinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest 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.DeleteSearchAds360LinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest 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.DeleteSearchAds360LinkRequest 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.DeleteSearchAds360LinkRequest 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.DeleteSearchAds360LinkRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for DeleteSearchAds360Link RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest build() { + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the SearchAds360Link to delete.
+     * Example format: properties/1234/SearchAds360Links/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the SearchAds360Link to delete.
+     * Example format: properties/1234/SearchAds360Links/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the SearchAds360Link to delete.
+     * Example format: properties/1234/SearchAds360Links/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the SearchAds360Link to delete.
+     * Example format: properties/1234/SearchAds360Links/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the SearchAds360Link to delete.
+     * Example format: properties/1234/SearchAds360Links/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + 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.DeleteSearchAds360LinkRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) + private static final com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest(); + } + + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSearchAds360LinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java new file mode 100644 index 000000000000..2e5ba35efa7b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.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/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteSearchAds360LinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the SearchAds360Link to delete.
+   * Example format: properties/1234/SearchAds360Links/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the SearchAds360Link to delete.
+   * Example format: properties/1234/SearchAds360Links/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java index bddbff8ce4c4..204999386a5a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java @@ -77,8 +77,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-   * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+   * Output only. The resource name for this DisplayVideo360AdvertiserLink
+   * resource. Format:
+   * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
    * Note: linkId is not the Display & Video 360 Advertiser ID
    * 
* @@ -102,8 +103,9 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-   * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+   * Output only. The resource name for this DisplayVideo360AdvertiserLink
+   * resource. Format:
+   * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
    * Note: linkId is not the Display & Video 360 Advertiser ID
    * 
* @@ -285,10 +287,10 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil * * *
-   * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-   * property. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of campaign data from Display & Video 360
+   * into the GA4 property. After link creation, this can only be updated from
+   * the Display & Video 360 product. If this field is not set on create, it
+   * will be defaulted to true.
    * 
* * @@ -305,10 +307,10 @@ public boolean hasCampaignDataSharingEnabled() { * * *
-   * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-   * property. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of campaign data from Display & Video 360
+   * into the GA4 property. After link creation, this can only be updated from
+   * the Display & Video 360 product. If this field is not set on create, it
+   * will be defaulted to true.
    * 
* * @@ -327,10 +329,10 @@ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { * * *
-   * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-   * property. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of campaign data from Display & Video 360
+   * into the GA4 property. After link creation, this can only be updated from
+   * the Display & Video 360 product. If this field is not set on create, it
+   * will be defaulted to true.
    * 
* * @@ -350,11 +352,11 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui * * *
-   * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_sharing_enabled is
-   * enabled. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of cost data from Display & Video 360 into
+   * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+   * is enabled. After link creation, this can only be updated from the Display
+   * & Video 360 product. If this field is not set on create, it will be
+   * defaulted to true.
    * 
* * @@ -371,11 +373,11 @@ public boolean hasCostDataSharingEnabled() { * * *
-   * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_sharing_enabled is
-   * enabled. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of cost data from Display & Video 360 into
+   * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+   * is enabled. After link creation, this can only be updated from the Display
+   * & Video 360 product. If this field is not set on create, it will be
+   * defaulted to true.
    * 
* * @@ -394,11 +396,11 @@ public com.google.protobuf.BoolValue getCostDataSharingEnabled() { * * *
-   * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_sharing_enabled is
-   * enabled. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of cost data from Display & Video 360 into
+   * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+   * is enabled. After link creation, this can only be updated from the Display
+   * & Video 360 product. If this field is not set on create, it will be
+   * defaulted to true.
    * 
* * @@ -924,8 +926,9 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-     * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * resource. Format:
+     * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* @@ -948,8 +951,9 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-     * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * resource. Format:
+     * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* @@ -972,8 +976,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-     * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * resource. Format:
+     * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* @@ -995,8 +1000,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-     * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * resource. Format:
+     * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* @@ -1014,8 +1020,9 @@ public Builder clearName() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-     * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+     * Output only. The resource name for this DisplayVideo360AdvertiserLink
+     * resource. Format:
+     * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
      * Note: linkId is not the Display & Video 360 Advertiser ID
      * 
* @@ -1450,10 +1457,10 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1469,10 +1476,10 @@ public boolean hasCampaignDataSharingEnabled() { * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1494,10 +1501,10 @@ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1521,10 +1528,10 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1546,10 +1553,10 @@ public Builder setCampaignDataSharingEnabled( * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1576,10 +1583,10 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1600,10 +1607,10 @@ public Builder clearCampaignDataSharingEnabled() { * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1619,10 +1626,10 @@ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilde * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1642,10 +1649,10 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui * * *
-     * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-     * property. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of campaign data from Display & Video 360
+     * into the GA4 property. After link creation, this can only be updated from
+     * the Display & Video 360 product. If this field is not set on create, it
+     * will be defaulted to true.
      * 
* * @@ -1679,11 +1686,11 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * @@ -1699,11 +1706,11 @@ public boolean hasCostDataSharingEnabled() { * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * @@ -1725,11 +1732,11 @@ public com.google.protobuf.BoolValue getCostDataSharingEnabled() { * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * @@ -1753,11 +1760,11 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * @@ -1779,11 +1786,11 @@ public Builder setCostDataSharingEnabled( * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * @@ -1810,11 +1817,11 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * @@ -1835,11 +1842,11 @@ public Builder clearCostDataSharingEnabled() { * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * @@ -1855,11 +1862,11 @@ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * @@ -1879,11 +1886,11 @@ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder * * *
-     * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-     * property. This can only be enabled if campaign_data_sharing_enabled is
-     * enabled. After link creation, this can only be updated from the Display &
-     * Video 360 product.
-     * If this field is not set on create, it will be defaulted to true.
+     * Immutable. Enables the import of cost data from Display & Video 360 into
+     * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+     * is enabled. After link creation, this can only be updated from the Display
+     * & Video 360 product. If this field is not set on create, it will be
+     * defaulted to true.
      * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java index 5ec644860e70..190292a01cb3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java @@ -27,8 +27,9 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-   * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+   * Output only. The resource name for this DisplayVideo360AdvertiserLink
+   * resource. Format:
+   * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
    * Note: linkId is not the Display & Video 360 Advertiser ID
    * 
* @@ -41,8 +42,9 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
-   * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+   * Output only. The resource name for this DisplayVideo360AdvertiserLink
+   * resource. Format:
+   * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
    * Note: linkId is not the Display & Video 360 Advertiser ID
    * 
* @@ -144,10 +146,10 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-   * property. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of campaign data from Display & Video 360
+   * into the GA4 property. After link creation, this can only be updated from
+   * the Display & Video 360 product. If this field is not set on create, it
+   * will be defaulted to true.
    * 
* * @@ -161,10 +163,10 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-   * property. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of campaign data from Display & Video 360
+   * into the GA4 property. After link creation, this can only be updated from
+   * the Display & Video 360 product. If this field is not set on create, it
+   * will be defaulted to true.
    * 
* * @@ -178,10 +180,10 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
-   * property. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of campaign data from Display & Video 360
+   * into the GA4 property. After link creation, this can only be updated from
+   * the Display & Video 360 product. If this field is not set on create, it
+   * will be defaulted to true.
    * 
* * @@ -194,11 +196,11 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_sharing_enabled is
-   * enabled. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of cost data from Display & Video 360 into
+   * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+   * is enabled. After link creation, this can only be updated from the Display
+   * & Video 360 product. If this field is not set on create, it will be
+   * defaulted to true.
    * 
* * @@ -212,11 +214,11 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_sharing_enabled is
-   * enabled. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of cost data from Display & Video 360 into
+   * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+   * is enabled. After link creation, this can only be updated from the Display
+   * & Video 360 product. If this field is not set on create, it will be
+   * defaulted to true.
    * 
* * @@ -230,11 +232,11 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder * * *
-   * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
-   * property. This can only be enabled if campaign_data_sharing_enabled is
-   * enabled. After link creation, this can only be updated from the Display &
-   * Video 360 product.
-   * If this field is not set on create, it will be defaulted to true.
+   * Immutable. Enables the import of cost data from Display & Video 360 into
+   * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+   * is enabled. After link creation, this can only be updated from the Display
+   * & Video 360 product. If this field is not set on create, it will be
+   * defaulted to true.
    * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java index d819579936ec..23e27e2be5e6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java @@ -84,8 +84,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-   * Format:
+   * Output only. The resource name for this
+   * DisplayVideo360AdvertiserLinkProposal resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
    * Note: proposalId is not the Display & Video 360 Advertiser ID
    * 
@@ -110,8 +110,8 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-   * Format:
+   * Output only. The resource name for this
+   * DisplayVideo360AdvertiserLinkProposal resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
    * Note: proposalId is not the Display & Video 360 Advertiser ID
    * 
@@ -303,12 +303,12 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { * * *
-   * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-   * the email address of an admin on the target advertiser. This is used to
-   * verify that the Google Analytics admin is aware of at least one admin on
-   * the Display & Video 360 Advertiser. This does not restrict approval of the
-   * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-   * may approve the proposal.
+   * Input only. On a proposal being sent to Display & Video 360, this field
+   * must be set to the email address of an admin on the target advertiser. This
+   * is used to verify that the Google Analytics admin is aware of at least one
+   * admin on the Display & Video 360 Advertiser. This does not restrict
+   * approval of the proposal to a single user. Any admin on the Display & Video
+   * 360 Advertiser may approve the proposal.
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -331,12 +331,12 @@ public java.lang.String getValidationEmail() { * * *
-   * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-   * the email address of an admin on the target advertiser. This is used to
-   * verify that the Google Analytics admin is aware of at least one admin on
-   * the Display & Video 360 Advertiser. This does not restrict approval of the
-   * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-   * may approve the proposal.
+   * Input only. On a proposal being sent to Display & Video 360, this field
+   * must be set to the email address of an admin on the target advertiser. This
+   * is used to verify that the Google Analytics admin is aware of at least one
+   * admin on the Display & Video 360 Advertiser. This does not restrict
+   * approval of the proposal to a single user. Any admin on the Display & Video
+   * 360 Advertiser may approve the proposal.
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1122,8 +1122,8 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-     * Format:
+     * Output only. The resource name for this
+     * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
@@ -1147,8 +1147,8 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-     * Format:
+     * Output only. The resource name for this
+     * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
@@ -1172,8 +1172,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-     * Format:
+     * Output only. The resource name for this
+     * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
@@ -1196,8 +1196,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-     * Format:
+     * Output only. The resource name for this
+     * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
@@ -1216,8 +1216,8 @@ public Builder clearName() { * * *
-     * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-     * Format:
+     * Output only. The resource name for this
+     * DisplayVideo360AdvertiserLinkProposal resource. Format:
      * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
      * Note: proposalId is not the Display & Video 360 Advertiser ID
      * 
@@ -1669,12 +1669,12 @@ public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString valu * * *
-     * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-     * the email address of an admin on the target advertiser. This is used to
-     * verify that the Google Analytics admin is aware of at least one admin on
-     * the Display & Video 360 Advertiser. This does not restrict approval of the
-     * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-     * may approve the proposal.
+     * Input only. On a proposal being sent to Display & Video 360, this field
+     * must be set to the email address of an admin on the target advertiser. This
+     * is used to verify that the Google Analytics admin is aware of at least one
+     * admin on the Display & Video 360 Advertiser. This does not restrict
+     * approval of the proposal to a single user. Any admin on the Display & Video
+     * 360 Advertiser may approve the proposal.
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1696,12 +1696,12 @@ public java.lang.String getValidationEmail() { * * *
-     * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-     * the email address of an admin on the target advertiser. This is used to
-     * verify that the Google Analytics admin is aware of at least one admin on
-     * the Display & Video 360 Advertiser. This does not restrict approval of the
-     * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-     * may approve the proposal.
+     * Input only. On a proposal being sent to Display & Video 360, this field
+     * must be set to the email address of an admin on the target advertiser. This
+     * is used to verify that the Google Analytics admin is aware of at least one
+     * admin on the Display & Video 360 Advertiser. This does not restrict
+     * approval of the proposal to a single user. Any admin on the Display & Video
+     * 360 Advertiser may approve the proposal.
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1723,12 +1723,12 @@ public com.google.protobuf.ByteString getValidationEmailBytes() { * * *
-     * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-     * the email address of an admin on the target advertiser. This is used to
-     * verify that the Google Analytics admin is aware of at least one admin on
-     * the Display & Video 360 Advertiser. This does not restrict approval of the
-     * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-     * may approve the proposal.
+     * Input only. On a proposal being sent to Display & Video 360, this field
+     * must be set to the email address of an admin on the target advertiser. This
+     * is used to verify that the Google Analytics admin is aware of at least one
+     * admin on the Display & Video 360 Advertiser. This does not restrict
+     * approval of the proposal to a single user. Any admin on the Display & Video
+     * 360 Advertiser may approve the proposal.
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1749,12 +1749,12 @@ public Builder setValidationEmail(java.lang.String value) { * * *
-     * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-     * the email address of an admin on the target advertiser. This is used to
-     * verify that the Google Analytics admin is aware of at least one admin on
-     * the Display & Video 360 Advertiser. This does not restrict approval of the
-     * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-     * may approve the proposal.
+     * Input only. On a proposal being sent to Display & Video 360, this field
+     * must be set to the email address of an admin on the target advertiser. This
+     * is used to verify that the Google Analytics admin is aware of at least one
+     * admin on the Display & Video 360 Advertiser. This does not restrict
+     * approval of the proposal to a single user. Any admin on the Display & Video
+     * 360 Advertiser may approve the proposal.
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1771,12 +1771,12 @@ public Builder clearValidationEmail() { * * *
-     * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-     * the email address of an admin on the target advertiser. This is used to
-     * verify that the Google Analytics admin is aware of at least one admin on
-     * the Display & Video 360 Advertiser. This does not restrict approval of the
-     * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-     * may approve the proposal.
+     * Input only. On a proposal being sent to Display & Video 360, this field
+     * must be set to the email address of an admin on the target advertiser. This
+     * is used to verify that the Google Analytics admin is aware of at least one
+     * admin on the Display & Video 360 Advertiser. This does not restrict
+     * approval of the proposal to a single user. Any admin on the Display & Video
+     * 360 Advertiser may approve the proposal.
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java index 316c6ed28e25..88634cf7804d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java @@ -27,8 +27,8 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-   * Format:
+   * Output only. The resource name for this
+   * DisplayVideo360AdvertiserLinkProposal resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
    * Note: proposalId is not the Display & Video 360 Advertiser ID
    * 
@@ -42,8 +42,8 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder * * *
-   * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
-   * Format:
+   * Output only. The resource name for this
+   * DisplayVideo360AdvertiserLinkProposal resource. Format:
    * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
    * Note: proposalId is not the Display & Video 360 Advertiser ID
    * 
@@ -152,12 +152,12 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder * * *
-   * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-   * the email address of an admin on the target advertiser. This is used to
-   * verify that the Google Analytics admin is aware of at least one admin on
-   * the Display & Video 360 Advertiser. This does not restrict approval of the
-   * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-   * may approve the proposal.
+   * Input only. On a proposal being sent to Display & Video 360, this field
+   * must be set to the email address of an admin on the target advertiser. This
+   * is used to verify that the Google Analytics admin is aware of at least one
+   * admin on the Display & Video 360 Advertiser. This does not restrict
+   * approval of the proposal to a single user. Any admin on the Display & Video
+   * 360 Advertiser may approve the proposal.
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -169,12 +169,12 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder * * *
-   * Input only. On a proposal being sent to Display & Video 360, this field must be set to
-   * the email address of an admin on the target advertiser. This is used to
-   * verify that the Google Analytics admin is aware of at least one admin on
-   * the Display & Video 360 Advertiser. This does not restrict approval of the
-   * proposal to a single user. Any admin on the Display & Video 360 Advertiser
-   * may approve the proposal.
+   * Input only. On a proposal being sent to Display & Video 360, this field
+   * must be set to the email address of an admin on the target advertiser. This
+   * is used to verify that the Google Analytics admin is aware of at least one
+   * admin on the Display & Video 360 Advertiser. This does not restrict
+   * approval of the proposal to a single user. Any admin on the Display & Video
+   * 360 Advertiser may approve the proposal.
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java new file mode 100644 index 000000000000..7438b7601e9b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java @@ -0,0 +1,2281 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * A resource message representing a GA4 ExpandedDataSet.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSet} + */ +public final class ExpandedDataSet extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ExpandedDataSet) + ExpandedDataSetOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExpandedDataSet.newBuilder() to construct. + private ExpandedDataSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExpandedDataSet() { + name_ = ""; + displayName_ = ""; + description_ = ""; + dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + metricNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExpandedDataSet(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSet.class, + com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. The resource name for this ExpandedDataSet resource.
+   * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The resource name for this ExpandedDataSet resource.
+   * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + * + * + *
+   * Required. The display name of the ExpandedDataSet.
+   * Max 200 chars.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The display name of the ExpandedDataSet.
+   * Max 200 chars.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * + * + *
+   * Optional. The description of the ExpandedDataSet.
+   * Max 50 chars.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The description of the ExpandedDataSet.
+   * Max 50 chars.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DIMENSION_NAMES_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList dimensionNames_; + /** + * + * + *
+   * Immutable. The list of dimensions included in the ExpandedDataSet.
+   * See the [API
+   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+   * for the list of dimension names.
+   * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return A list containing the dimensionNames. + */ + public com.google.protobuf.ProtocolStringList getDimensionNamesList() { + return dimensionNames_; + } + /** + * + * + *
+   * Immutable. The list of dimensions included in the ExpandedDataSet.
+   * See the [API
+   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+   * for the list of dimension names.
+   * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The count of dimensionNames. + */ + public int getDimensionNamesCount() { + return dimensionNames_.size(); + } + /** + * + * + *
+   * Immutable. The list of dimensions included in the ExpandedDataSet.
+   * See the [API
+   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+   * for the list of dimension names.
+   * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the element to return. + * @return The dimensionNames at the given index. + */ + public java.lang.String getDimensionNames(int index) { + return dimensionNames_.get(index); + } + /** + * + * + *
+   * Immutable. The list of dimensions included in the ExpandedDataSet.
+   * See the [API
+   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+   * for the list of dimension names.
+   * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the value to return. + * @return The bytes of the dimensionNames at the given index. + */ + public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { + return dimensionNames_.getByteString(index); + } + + public static final int METRIC_NAMES_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList metricNames_; + /** + * + * + *
+   * Immutable. The list of metrics included in the ExpandedDataSet.
+   * See the [API
+   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+   * for the list of dimension names.
+   * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return A list containing the metricNames. + */ + public com.google.protobuf.ProtocolStringList getMetricNamesList() { + return metricNames_; + } + /** + * + * + *
+   * Immutable. The list of metrics included in the ExpandedDataSet.
+   * See the [API
+   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+   * for the list of dimension names.
+   * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The count of metricNames. + */ + public int getMetricNamesCount() { + return metricNames_.size(); + } + /** + * + * + *
+   * Immutable. The list of metrics included in the ExpandedDataSet.
+   * See the [API
+   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+   * for the list of dimension names.
+   * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the element to return. + * @return The metricNames at the given index. + */ + public java.lang.String getMetricNames(int index) { + return metricNames_.get(index); + } + /** + * + * + *
+   * Immutable. The list of metrics included in the ExpandedDataSet.
+   * See the [API
+   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+   * for the list of dimension names.
+   * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the value to return. + * @return The bytes of the metricNames at the given index. + */ + public com.google.protobuf.ByteString getMetricNamesBytes(int index) { + return metricNames_.getByteString(index); + } + + public static final int DIMENSION_FILTER_EXPRESSION_FIELD_NUMBER = 6; + private com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + dimensionFilterExpression_; + /** + * + * + *
+   * Immutable. A logical expression of ExpandedDataSet filters applied to
+   * dimension included in the ExpandedDataSet. This filter is used to reduce
+   * the number of rows and thus the change of encountering `other row`.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the dimensionFilterExpression field is set. + */ + @java.lang.Override + public boolean hasDimensionFilterExpression() { + return dimensionFilterExpression_ != null; + } + /** + * + * + *
+   * Immutable. A logical expression of ExpandedDataSet filters applied to
+   * dimension included in the ExpandedDataSet. This filter is used to reduce
+   * the number of rows and thus the change of encountering `other row`.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The dimensionFilterExpression. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + getDimensionFilterExpression() { + return dimensionFilterExpression_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.getDefaultInstance() + : dimensionFilterExpression_; + } + /** + * + * + *
+   * Immutable. A logical expression of ExpandedDataSet filters applied to
+   * dimension included in the ExpandedDataSet. This filter is used to reduce
+   * the number of rows and thus the change of encountering `other row`.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getDimensionFilterExpressionOrBuilder() { + return dimensionFilterExpression_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.getDefaultInstance() + : dimensionFilterExpression_; + } + + public static final int DATA_COLLECTION_START_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp dataCollectionStartTime_; + /** + * + * + *
+   * Output only. Time when expanded data set began (or will begin) collecing
+   * data.
+   * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the dataCollectionStartTime field is set. + */ + @java.lang.Override + public boolean hasDataCollectionStartTime() { + return dataCollectionStartTime_ != null; + } + /** + * + * + *
+   * Output only. Time when expanded data set began (or will begin) collecing
+   * data.
+   * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The dataCollectionStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getDataCollectionStartTime() { + return dataCollectionStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dataCollectionStartTime_; + } + /** + * + * + *
+   * Output only. Time when expanded data set began (or will begin) collecing
+   * data.
+   * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getDataCollectionStartTimeOrBuilder() { + return dataCollectionStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dataCollectionStartTime_; + } + + 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(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + } + for (int i = 0; i < dimensionNames_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dimensionNames_.getRaw(i)); + } + for (int i = 0; i < metricNames_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, metricNames_.getRaw(i)); + } + if (dimensionFilterExpression_ != null) { + output.writeMessage(6, getDimensionFilterExpression()); + } + if (dataCollectionStartTime_ != null) { + output.writeMessage(7, getDataCollectionStartTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + } + { + int dataSize = 0; + for (int i = 0; i < dimensionNames_.size(); i++) { + dataSize += computeStringSizeNoTag(dimensionNames_.getRaw(i)); + } + size += dataSize; + size += 1 * getDimensionNamesList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < metricNames_.size(); i++) { + dataSize += computeStringSizeNoTag(metricNames_.getRaw(i)); + } + size += dataSize; + size += 1 * getMetricNamesList().size(); + } + if (dimensionFilterExpression_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, getDimensionFilterExpression()); + } + if (dataCollectionStartTime_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDataCollectionStartTime()); + } + size += getUnknownFields().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.ExpandedDataSet)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ExpandedDataSet other = + (com.google.analytics.admin.v1alpha.ExpandedDataSet) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDimensionNamesList().equals(other.getDimensionNamesList())) return false; + if (!getMetricNamesList().equals(other.getMetricNamesList())) return false; + if (hasDimensionFilterExpression() != other.hasDimensionFilterExpression()) return false; + if (hasDimensionFilterExpression()) { + if (!getDimensionFilterExpression().equals(other.getDimensionFilterExpression())) + return false; + } + if (hasDataCollectionStartTime() != other.hasDataCollectionStartTime()) return false; + if (hasDataCollectionStartTime()) { + if (!getDataCollectionStartTime().equals(other.getDataCollectionStartTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (getDimensionNamesCount() > 0) { + hash = (37 * hash) + DIMENSION_NAMES_FIELD_NUMBER; + hash = (53 * hash) + getDimensionNamesList().hashCode(); + } + if (getMetricNamesCount() > 0) { + hash = (37 * hash) + METRIC_NAMES_FIELD_NUMBER; + hash = (53 * hash) + getMetricNamesList().hashCode(); + } + if (hasDimensionFilterExpression()) { + hash = (37 * hash) + DIMENSION_FILTER_EXPRESSION_FIELD_NUMBER; + hash = (53 * hash) + getDimensionFilterExpression().hashCode(); + } + if (hasDataCollectionStartTime()) { + hash = (37 * hash) + DATA_COLLECTION_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getDataCollectionStartTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSet 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.ExpandedDataSet parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSet parseFrom( + 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.ExpandedDataSet parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSet 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.ExpandedDataSet parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSet 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.ExpandedDataSet parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSet 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.ExpandedDataSet 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.ExpandedDataSet 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.ExpandedDataSet 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 resource message representing a GA4 ExpandedDataSet.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSet} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ExpandedDataSet) + com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSet.class, + com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.ExpandedDataSet.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + displayName_ = ""; + description_ = ""; + dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + metricNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + dimensionFilterExpression_ = null; + if (dimensionFilterExpressionBuilder_ != null) { + dimensionFilterExpressionBuilder_.dispose(); + dimensionFilterExpressionBuilder_ = null; + } + dataCollectionStartTime_ = null; + if (dataCollectionStartTimeBuilder_ != null) { + dataCollectionStartTimeBuilder_.dispose(); + dataCollectionStartTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSet getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSet build() { + com.google.analytics.admin.v1alpha.ExpandedDataSet result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSet buildPartial() { + com.google.analytics.admin.v1alpha.ExpandedDataSet result = + new com.google.analytics.admin.v1alpha.ExpandedDataSet(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ExpandedDataSet result) { + if (((bitField0_ & 0x00000008) != 0)) { + dimensionNames_ = dimensionNames_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.dimensionNames_ = dimensionNames_; + if (((bitField0_ & 0x00000010) != 0)) { + metricNames_ = metricNames_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.metricNames_ = metricNames_; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSet result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.dimensionFilterExpression_ = + dimensionFilterExpressionBuilder_ == null + ? dimensionFilterExpression_ + : dimensionFilterExpressionBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.dataCollectionStartTime_ = + dataCollectionStartTimeBuilder_ == null + ? dataCollectionStartTime_ + : dataCollectionStartTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.ExpandedDataSet) { + return mergeFrom((com.google.analytics.admin.v1alpha.ExpandedDataSet) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ExpandedDataSet other) { + if (other == com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.dimensionNames_.isEmpty()) { + if (dimensionNames_.isEmpty()) { + dimensionNames_ = other.dimensionNames_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureDimensionNamesIsMutable(); + dimensionNames_.addAll(other.dimensionNames_); + } + onChanged(); + } + if (!other.metricNames_.isEmpty()) { + if (metricNames_.isEmpty()) { + metricNames_ = other.metricNames_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureMetricNamesIsMutable(); + metricNames_.addAll(other.metricNames_); + } + onChanged(); + } + if (other.hasDimensionFilterExpression()) { + mergeDimensionFilterExpression(other.getDimensionFilterExpression()); + } + if (other.hasDataCollectionStartTime()) { + mergeDataCollectionStartTime(other.getDataCollectionStartTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDimensionNamesIsMutable(); + dimensionNames_.add(s); + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMetricNamesIsMutable(); + metricNames_.add(s); + break; + } // case 42 + case 50: + { + input.readMessage( + getDimensionFilterExpressionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage( + getDataCollectionStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. The resource name for this ExpandedDataSet resource.
+     * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The resource name for this ExpandedDataSet resource.
+     * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The resource name for this ExpandedDataSet resource.
+     * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name for this ExpandedDataSet resource.
+     * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name for this ExpandedDataSet resource.
+     * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + * + * + *
+     * Required. The display name of the ExpandedDataSet.
+     * Max 200 chars.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The display name of the ExpandedDataSet.
+     * Max 200 chars.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The display name of the ExpandedDataSet.
+     * Max 200 chars.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The display name of the ExpandedDataSet.
+     * Max 200 chars.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The display name of the ExpandedDataSet.
+     * Max 200 chars.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
+     * Optional. The description of the ExpandedDataSet.
+     * Max 50 chars.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The description of the ExpandedDataSet.
+     * Max 50 chars.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The description of the ExpandedDataSet.
+     * Max 50 chars.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The description of the ExpandedDataSet.
+     * Max 50 chars.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The description of the ExpandedDataSet.
+     * Max 50 chars.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList dimensionNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDimensionNamesIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + dimensionNames_ = new com.google.protobuf.LazyStringArrayList(dimensionNames_); + bitField0_ |= 0x00000008; + } + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return A list containing the dimensionNames. + */ + public com.google.protobuf.ProtocolStringList getDimensionNamesList() { + return dimensionNames_.getUnmodifiableView(); + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The count of dimensionNames. + */ + public int getDimensionNamesCount() { + return dimensionNames_.size(); + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the element to return. + * @return The dimensionNames at the given index. + */ + public java.lang.String getDimensionNames(int index) { + return dimensionNames_.get(index); + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the value to return. + * @return The bytes of the dimensionNames at the given index. + */ + public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { + return dimensionNames_.getByteString(index); + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index to set the value at. + * @param value The dimensionNames to set. + * @return This builder for chaining. + */ + public Builder setDimensionNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDimensionNamesIsMutable(); + dimensionNames_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The dimensionNames to add. + * @return This builder for chaining. + */ + public Builder addDimensionNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDimensionNamesIsMutable(); + dimensionNames_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param values The dimensionNames to add. + * @return This builder for chaining. + */ + public Builder addAllDimensionNames(java.lang.Iterable values) { + ensureDimensionNamesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionNames_); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearDimensionNames() { + dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The list of dimensions included in the ExpandedDataSet.
+     * See the [API
+     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+     * for the list of dimension names.
+     * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes of the dimensionNames to add. + * @return This builder for chaining. + */ + public Builder addDimensionNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDimensionNamesIsMutable(); + dimensionNames_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList metricNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureMetricNamesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + metricNames_ = new com.google.protobuf.LazyStringArrayList(metricNames_); + bitField0_ |= 0x00000010; + } + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return A list containing the metricNames. + */ + public com.google.protobuf.ProtocolStringList getMetricNamesList() { + return metricNames_.getUnmodifiableView(); + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The count of metricNames. + */ + public int getMetricNamesCount() { + return metricNames_.size(); + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the element to return. + * @return The metricNames at the given index. + */ + public java.lang.String getMetricNames(int index) { + return metricNames_.get(index); + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the value to return. + * @return The bytes of the metricNames at the given index. + */ + public com.google.protobuf.ByteString getMetricNamesBytes(int index) { + return metricNames_.getByteString(index); + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index to set the value at. + * @param value The metricNames to set. + * @return This builder for chaining. + */ + public Builder setMetricNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureMetricNamesIsMutable(); + metricNames_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The metricNames to add. + * @return This builder for chaining. + */ + public Builder addMetricNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureMetricNamesIsMutable(); + metricNames_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param values The metricNames to add. + * @return This builder for chaining. + */ + public Builder addAllMetricNames(java.lang.Iterable values) { + ensureMetricNamesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricNames_); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearMetricNames() { + metricNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The list of metrics included in the ExpandedDataSet.
+     * See the [API
+     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+     * for the list of dimension names.
+     * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes of the metricNames to add. + * @return This builder for chaining. + */ + public Builder addMetricNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureMetricNamesIsMutable(); + metricNames_.add(value); + onChanged(); + return this; + } + + private com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + dimensionFilterExpression_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + dimensionFilterExpressionBuilder_; + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the dimensionFilterExpression field is set. + */ + public boolean hasDimensionFilterExpression() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The dimensionFilterExpression. + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + getDimensionFilterExpression() { + if (dimensionFilterExpressionBuilder_ == null) { + return dimensionFilterExpression_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance() + : dimensionFilterExpression_; + } else { + return dimensionFilterExpressionBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder setDimensionFilterExpression( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + if (dimensionFilterExpressionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dimensionFilterExpression_ = value; + } else { + dimensionFilterExpressionBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder setDimensionFilterExpression( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { + if (dimensionFilterExpressionBuilder_ == null) { + dimensionFilterExpression_ = builderForValue.build(); + } else { + dimensionFilterExpressionBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder mergeDimensionFilterExpression( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + if (dimensionFilterExpressionBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && dimensionFilterExpression_ != null + && dimensionFilterExpression_ + != com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance()) { + getDimensionFilterExpressionBuilder().mergeFrom(value); + } else { + dimensionFilterExpression_ = value; + } + } else { + dimensionFilterExpressionBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder clearDimensionFilterExpression() { + bitField0_ = (bitField0_ & ~0x00000020); + dimensionFilterExpression_ = null; + if (dimensionFilterExpressionBuilder_ != null) { + dimensionFilterExpressionBuilder_.dispose(); + dimensionFilterExpressionBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + getDimensionFilterExpressionBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getDimensionFilterExpressionFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getDimensionFilterExpressionOrBuilder() { + if (dimensionFilterExpressionBuilder_ != null) { + return dimensionFilterExpressionBuilder_.getMessageOrBuilder(); + } else { + return dimensionFilterExpression_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance() + : dimensionFilterExpression_; + } + } + /** + * + * + *
+     * Immutable. A logical expression of ExpandedDataSet filters applied to
+     * dimension included in the ExpandedDataSet. This filter is used to reduce
+     * the number of rows and thus the change of encountering `other row`.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + getDimensionFilterExpressionFieldBuilder() { + if (dimensionFilterExpressionBuilder_ == null) { + dimensionFilterExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder>( + getDimensionFilterExpression(), getParentForChildren(), isClean()); + dimensionFilterExpression_ = null; + } + return dimensionFilterExpressionBuilder_; + } + + private com.google.protobuf.Timestamp dataCollectionStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + dataCollectionStartTimeBuilder_; + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the dataCollectionStartTime field is set. + */ + public boolean hasDataCollectionStartTime() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The dataCollectionStartTime. + */ + public com.google.protobuf.Timestamp getDataCollectionStartTime() { + if (dataCollectionStartTimeBuilder_ == null) { + return dataCollectionStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dataCollectionStartTime_; + } else { + return dataCollectionStartTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDataCollectionStartTime(com.google.protobuf.Timestamp value) { + if (dataCollectionStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dataCollectionStartTime_ = value; + } else { + dataCollectionStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDataCollectionStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (dataCollectionStartTimeBuilder_ == null) { + dataCollectionStartTime_ = builderForValue.build(); + } else { + dataCollectionStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeDataCollectionStartTime(com.google.protobuf.Timestamp value) { + if (dataCollectionStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && dataCollectionStartTime_ != null + && dataCollectionStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getDataCollectionStartTimeBuilder().mergeFrom(value); + } else { + dataCollectionStartTime_ = value; + } + } else { + dataCollectionStartTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearDataCollectionStartTime() { + bitField0_ = (bitField0_ & ~0x00000040); + dataCollectionStartTime_ = null; + if (dataCollectionStartTimeBuilder_ != null) { + dataCollectionStartTimeBuilder_.dispose(); + dataCollectionStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getDataCollectionStartTimeBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getDataCollectionStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getDataCollectionStartTimeOrBuilder() { + if (dataCollectionStartTimeBuilder_ != null) { + return dataCollectionStartTimeBuilder_.getMessageOrBuilder(); + } else { + return dataCollectionStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dataCollectionStartTime_; + } + } + /** + * + * + *
+     * Output only. Time when expanded data set began (or will begin) collecing
+     * data.
+     * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getDataCollectionStartTimeFieldBuilder() { + if (dataCollectionStartTimeBuilder_ == null) { + dataCollectionStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDataCollectionStartTime(), getParentForChildren(), isClean()); + dataCollectionStartTime_ = null; + } + return dataCollectionStartTimeBuilder_; + } + + @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.ExpandedDataSet) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ExpandedDataSet) + private static final com.google.analytics.admin.v1alpha.ExpandedDataSet DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ExpandedDataSet(); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSet getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExpandedDataSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSet getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java new file mode 100644 index 000000000000..65ad311479e3 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java @@ -0,0 +1,3438 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * A specific filter for a single dimension
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilter} + */ +public final class ExpandedDataSetFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilter) + ExpandedDataSetFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExpandedDataSetFilter.newBuilder() to construct. + private ExpandedDataSetFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExpandedDataSetFilter() { + fieldName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExpandedDataSetFilter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder.class); + } + + public interface StringFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. The match type for the string filter.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for matchType. + */ + int getMatchTypeValue(); + /** + * + * + *
+     * Required. The match type for the string filter.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The matchType. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType getMatchType(); + + /** + * + * + *
+     * Required. The string value to be matched against.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. + */ + java.lang.String getValue(); + /** + * + * + *
+     * Required. The string value to be matched against.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); + + /** + * + * + *
+     * Optional. If true, the match is case-sensitive. If false, the match is
+     * case-insensitive.
+     * Must be true when match_type is EXACT.
+     * Must be false when match_type is CONTAINS.
+     * 
+ * + * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The caseSensitive. + */ + boolean getCaseSensitive(); + } + /** + * + * + *
+   * A filter for a string-type dimension that matches a particular pattern.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter} + */ + public static final class StringFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) + StringFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use StringFilter.newBuilder() to construct. + private StringFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StringFilter() { + matchType_ = 0; + value_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StringFilter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder.class); + } + + /** + * + * + *
+     * The match type for the string filter.
+     * 
+ * + * Protobuf enum {@code + * google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType} + */ + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified
+       * 
+ * + * MATCH_TYPE_UNSPECIFIED = 0; + */ + MATCH_TYPE_UNSPECIFIED(0), + /** + * + * + *
+       * Exact match of the string value.
+       * 
+ * + * EXACT = 1; + */ + EXACT(1), + /** + * + * + *
+       * Contains the string value.
+       * 
+ * + * CONTAINS = 2; + */ + CONTAINS(2), + 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; + /** + * + * + *
+       * Contains the string value.
+       * 
+ * + * CONTAINS = 2; + */ + public static final int CONTAINS_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static 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 CONTAINS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchType findValueByNumber(int number) { + return MatchType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final MatchType[] VALUES = values(); + + public static MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private MatchType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType) + } + + public static final int MATCH_TYPE_FIELD_NUMBER = 1; + private int matchType_ = 0; + /** + * + * + *
+     * Required. The match type for the string filter.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for matchType. + */ + @java.lang.Override + public int getMatchTypeValue() { + return matchType_; + } + /** + * + * + *
+     * Required. The match type for the string filter.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The matchType. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType + getMatchType() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType result = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType.forNumber( + matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType + .UNRECOGNIZED + : result; + } + + public static final int VALUE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + * + * + *
+     * Required. The string value to be matched against.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + } + } + /** + * + * + *
+     * Required. The string value to be matched against.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @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_ = false; + /** + * + * + *
+     * Optional. If true, the match is case-sensitive. If false, the match is
+     * case-insensitive.
+     * Must be true when match_type is EXACT.
+     * Must be false when match_type is CONTAINS.
+     * 
+ * + * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @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.ExpandedDataSetFilter.StringFilter.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_); + } + getUnknownFields().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.ExpandedDataSetFilter.StringFilter.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 += getUnknownFields().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.ExpandedDataSetFilter.StringFilter)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter other = + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) obj; + + if (matchType_ != other.matchType_) return false; + if (!getValue().equals(other.getValue())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) 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) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter 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.ExpandedDataSetFilter.StringFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter 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.ExpandedDataSetFilter.StringFilter parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder + .class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + matchType_ = 0; + value_ = ""; + caseSensitive_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter build() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter buildPartial() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter result = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.matchType_ = matchType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.caseSensitive_ = caseSensitive_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter other) { + if (other + == com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance()) return this; + if (other.matchType_ != 0) { + setMatchTypeValue(other.getMatchTypeValue()); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getCaseSensitive() != false) { + setCaseSensitive(other.getCaseSensitive()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + matchType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + caseSensitive_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int matchType_ = 0; + /** + * + * + *
+       * Required. The match type for the string filter.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for matchType. + */ + @java.lang.Override + public int getMatchTypeValue() { + return matchType_; + } + /** + * + * + *
+       * Required. The match type for the string filter.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @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; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The match type for the string filter.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The matchType. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType + getMatchType() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType result = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType + .forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType + .UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Required. The match type for the string filter.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The matchType to set. + * @return This builder for chaining. + */ + public Builder setMatchType( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + matchType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The match type for the string filter.
+       * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearMatchType() { + bitField0_ = (bitField0_ & ~0x00000001); + matchType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + /** + * + * + *
+       * Required. The string value to be matched against.
+       * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + } + } + /** + * + * + *
+       * Required. The string value to be matched against.
+       * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + } + } + /** + * + * + *
+       * Required. The string value to be matched against.
+       * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The string value to be matched against.
+       * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The string value to be matched against.
+       * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private boolean caseSensitive_; + /** + * + * + *
+       * Optional. If true, the match is case-sensitive. If false, the match is
+       * case-insensitive.
+       * Must be true when match_type is EXACT.
+       * Must be false when match_type is CONTAINS.
+       * 
+ * + * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The caseSensitive. + */ + @java.lang.Override + public boolean getCaseSensitive() { + return caseSensitive_; + } + /** + * + * + *
+       * Optional. If true, the match is case-sensitive. If false, the match is
+       * case-insensitive.
+       * Must be true when match_type is EXACT.
+       * Must be false when match_type is CONTAINS.
+       * 
+ * + * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The caseSensitive to set. + * @return This builder for chaining. + */ + public Builder setCaseSensitive(boolean value) { + + caseSensitive_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. If true, the match is case-sensitive. If false, the match is
+       * case-insensitive.
+       * Must be true when match_type is EXACT.
+       * Must be false when match_type is CONTAINS.
+       * 
+ * + * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearCaseSensitive() { + bitField0_ = (bitField0_ & ~0x00000004); + 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.ExpandedDataSetFilter.StringFilter) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) + private static final com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter(); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface InListFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
+     * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the values. + */ + java.util.List getValuesList(); + /** + * + * + *
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
+     * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of values. + */ + int getValuesCount(); + /** + * + * + *
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
+     * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The values at the given index. + */ + java.lang.String getValues(int index); + /** + * + * + *
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
+     * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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); + + /** + * + * + *
+     * Optional. If true, the match is case-sensitive. If false, the match is
+     * case-insensitive.
+     * Must be true.
+     * 
+ * + * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The caseSensitive. + */ + boolean getCaseSensitive(); + } + /** + * + * + *
+   * A filter for a string dimension that matches a particular list of options.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter} + */ + public static final class InListFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) + InListFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use InListFilter.newBuilder() to construct. + private InListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InListFilter() { + values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InListFilter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder.class); + } + + public static final int VALUES_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList values_; + /** + * + * + *
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
+     * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the values. + */ + public com.google.protobuf.ProtocolStringList getValuesList() { + return values_; + } + /** + * + * + *
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
+     * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of values. + */ + public int getValuesCount() { + return values_.size(); + } + /** + * + * + *
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
+     * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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); + } + /** + * + * + *
+     * Required. The list of possible string values to match against. Must be
+     * non-empty.
+     * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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_ = false; + /** + * + * + *
+     * Optional. If true, the match is case-sensitive. If false, the match is
+     * case-insensitive.
+     * Must be true.
+     * 
+ * + * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @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_); + } + getUnknownFields().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 += getUnknownFields().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.ExpandedDataSetFilter.InListFilter)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter other = + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) obj; + + if (!getValuesList().equals(other.getValuesList())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) 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) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter 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.ExpandedDataSetFilter.InListFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter 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.ExpandedDataSetFilter.InListFilter parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A filter for a string dimension that matches a particular list of options.
+     * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder + .class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + caseSensitive_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter build() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter buildPartial() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result) { + if (((bitField0_ & 0x00000001) != 0)) { + values_ = values_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.values_ = values_; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.caseSensitive_ = caseSensitive_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter other) { + if (other + == com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance()) return this; + if (!other.values_.isEmpty()) { + if (values_.isEmpty()) { + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureValuesIsMutable(); + values_.addAll(other.values_); + } + onChanged(); + } + if (other.getCaseSensitive() != false) { + setCaseSensitive(other.getCaseSensitive()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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(); + ensureValuesIsMutable(); + values_.add(s); + break; + } // case 10 + case 16: + { + caseSensitive_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList values_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureValuesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + values_ = new com.google.protobuf.LazyStringArrayList(values_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the values. + */ + public com.google.protobuf.ProtocolStringList getValuesList() { + return values_.getUnmodifiableView(); + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of values. + */ + public int getValuesCount() { + return values_.size(); + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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); + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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); + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The values to add. + * @return This builder for chaining. + */ + public Builder addAllValues(java.lang.Iterable values) { + ensureValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearValues() { + values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * Required. The list of possible string values to match against. Must be
+       * non-empty.
+       * 
+ * + * repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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_; + /** + * + * + *
+       * Optional. If true, the match is case-sensitive. If false, the match is
+       * case-insensitive.
+       * Must be true.
+       * 
+ * + * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The caseSensitive. + */ + @java.lang.Override + public boolean getCaseSensitive() { + return caseSensitive_; + } + /** + * + * + *
+       * Optional. If true, the match is case-sensitive. If false, the match is
+       * case-insensitive.
+       * Must be true.
+       * 
+ * + * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The caseSensitive to set. + * @return This builder for chaining. + */ + public Builder setCaseSensitive(boolean value) { + + caseSensitive_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. If true, the match is case-sensitive. If false, the match is
+       * case-insensitive.
+       * Must be true.
+       * 
+ * + * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearCaseSensitive() { + bitField0_ = (bitField0_ & ~0x00000002); + 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.ExpandedDataSetFilter.InListFilter) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) + private static final com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter(); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InListFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int oneFilterCase_ = 0; + private java.lang.Object oneFilter_; + + public enum OneFilterCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + STRING_FILTER(2), + IN_LIST_FILTER(3), + 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 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; + /** + * + * + *
+   * A filter for a string-type dimension that matches a particular pattern.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * + * @return Whether the stringFilter field is set. + */ + @java.lang.Override + public boolean hasStringFilter() { + return oneFilterCase_ == 2; + } + /** + * + * + *
+   * A filter for a string-type dimension that matches a particular pattern.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * + * @return The stringFilter. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter getStringFilter() { + if (oneFilterCase_ == 2) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) oneFilter_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance(); + } + /** + * + * + *
+   * A filter for a string-type dimension that matches a particular pattern.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder + getStringFilterOrBuilder() { + if (oneFilterCase_ == 2) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) oneFilter_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance(); + } + + public static final int IN_LIST_FILTER_FIELD_NUMBER = 3; + /** + * + * + *
+   * A filter for a string dimension that matches a particular list of
+   * options.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * + * @return Whether the inListFilter field is set. + */ + @java.lang.Override + public boolean hasInListFilter() { + return oneFilterCase_ == 3; + } + /** + * + * + *
+   * A filter for a string dimension that matches a particular list of
+   * options.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * + * @return The inListFilter. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter getInListFilter() { + if (oneFilterCase_ == 3) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance(); + } + /** + * + * + *
+   * A filter for a string dimension that matches a particular list of
+   * options.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder + getInListFilterOrBuilder() { + if (oneFilterCase_ == 3) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance(); + } + + public static final int FIELD_NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object fieldName_ = ""; + /** + * + * + *
+   * Required. The dimension name to filter.
+   * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + } + } + /** + * + * + *
+   * Required. The dimension name to filter.
+   * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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.ExpandedDataSetFilter.StringFilter) oneFilter_); + } + if (oneFilterCase_ == 3) { + output.writeMessage( + 3, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_); + } + getUnknownFields().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.ExpandedDataSetFilter.StringFilter) oneFilter_); + } + if (oneFilterCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_); + } + size += getUnknownFields().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.ExpandedDataSetFilter)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter other = + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) 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 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) 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 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter 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.ExpandedDataSetFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter parseFrom( + 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.ExpandedDataSetFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter 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.ExpandedDataSetFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter 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.ExpandedDataSetFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter 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.ExpandedDataSetFilter 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.ExpandedDataSetFilter 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.ExpandedDataSetFilter 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 specific filter for a single dimension
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilter) + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (stringFilterBuilder_ != null) { + stringFilterBuilder_.clear(); + } + if (inListFilterBuilder_ != null) { + inListFilterBuilder_.clear(); + } + fieldName_ = ""; + oneFilterCase_ = 0; + oneFilter_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter build() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter buildPartial() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter result = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.fieldName_ = fieldName_; + } + } + + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter result) { + result.oneFilterCase_ = oneFilterCase_; + result.oneFilter_ = this.oneFilter_; + if (oneFilterCase_ == 2 && stringFilterBuilder_ != null) { + result.oneFilter_ = stringFilterBuilder_.build(); + } + if (oneFilterCase_ == 3 && inListFilterBuilder_ != null) { + result.oneFilter_ = inListFilterBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) { + return mergeFrom((com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter other) { + if (other == com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance()) + return this; + if (!other.getFieldName().isEmpty()) { + fieldName_ = other.fieldName_; + bitField0_ |= 0x00000004; + onChanged(); + } + switch (other.getOneFilterCase()) { + case STRING_FILTER: + { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: + { + mergeInListFilter(other.getInListFilter()); + break; + } + case ONEFILTER_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + fieldName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + input.readMessage(getStringFilterFieldBuilder().getBuilder(), extensionRegistry); + oneFilterCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getInListFilterFieldBuilder().getBuilder(), extensionRegistry); + oneFilterCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int oneFilterCase_ = 0; + private java.lang.Object oneFilter_; + + public OneFilterCase getOneFilterCase() { + return OneFilterCase.forNumber(oneFilterCase_); + } + + public Builder clearOneFilter() { + oneFilterCase_ = 0; + oneFilter_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder> + stringFilterBuilder_; + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * + * @return Whether the stringFilter field is set. + */ + @java.lang.Override + public boolean hasStringFilter() { + return oneFilterCase_ == 2; + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * + * @return The stringFilter. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter getStringFilter() { + if (stringFilterBuilder_ == null) { + if (oneFilterCase_ == 2) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) oneFilter_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance(); + } else { + if (oneFilterCase_ == 2) { + return stringFilterBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + */ + public Builder setStringFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter value) { + if (stringFilterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + oneFilter_ = value; + onChanged(); + } else { + stringFilterBuilder_.setMessage(value); + } + oneFilterCase_ = 2; + return this; + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + */ + public Builder setStringFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder + builderForValue) { + if (stringFilterBuilder_ == null) { + oneFilter_ = builderForValue.build(); + onChanged(); + } else { + stringFilterBuilder_.setMessage(builderForValue.build()); + } + oneFilterCase_ = 2; + return this; + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + */ + public Builder mergeStringFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter value) { + if (stringFilterBuilder_ == null) { + if (oneFilterCase_ == 2 + && oneFilter_ + != com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.newBuilder( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) + oneFilter_) + .mergeFrom(value) + .buildPartial(); + } else { + oneFilter_ = value; + } + onChanged(); + } else { + if (oneFilterCase_ == 2) { + stringFilterBuilder_.mergeFrom(value); + } else { + stringFilterBuilder_.setMessage(value); + } + } + oneFilterCase_ = 2; + return this; + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter 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; + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder + getStringFilterBuilder() { + return getStringFilterFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder + getStringFilterOrBuilder() { + if ((oneFilterCase_ == 2) && (stringFilterBuilder_ != null)) { + return stringFilterBuilder_.getMessageOrBuilder(); + } else { + if (oneFilterCase_ == 2) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) oneFilter_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter for a string-type dimension that matches a particular pattern.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder> + getStringFilterFieldBuilder() { + if (stringFilterBuilder_ == null) { + if (!(oneFilterCase_ == 2)) { + oneFilter_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + .getDefaultInstance(); + } + stringFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) oneFilter_, + getParentForChildren(), + isClean()); + oneFilter_ = null; + } + oneFilterCase_ = 2; + onChanged(); + return stringFilterBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder> + inListFilterBuilder_; + /** + * + * + *
+     * A filter for a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * + * @return Whether the inListFilter field is set. + */ + @java.lang.Override + public boolean hasInListFilter() { + return oneFilterCase_ == 3; + } + /** + * + * + *
+     * A filter for a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * + * @return The inListFilter. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter getInListFilter() { + if (inListFilterBuilder_ == null) { + if (oneFilterCase_ == 3) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance(); + } else { + if (oneFilterCase_ == 3) { + return inListFilterBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter for a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + */ + public Builder setInListFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter value) { + if (inListFilterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + oneFilter_ = value; + onChanged(); + } else { + inListFilterBuilder_.setMessage(value); + } + oneFilterCase_ = 3; + return this; + } + /** + * + * + *
+     * A filter for a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + */ + public Builder setInListFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder + builderForValue) { + if (inListFilterBuilder_ == null) { + oneFilter_ = builderForValue.build(); + onChanged(); + } else { + inListFilterBuilder_.setMessage(builderForValue.build()); + } + oneFilterCase_ = 3; + return this; + } + /** + * + * + *
+     * A filter for a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + */ + public Builder mergeInListFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter value) { + if (inListFilterBuilder_ == null) { + if (oneFilterCase_ == 3 + && oneFilter_ + != com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.newBuilder( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) + 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 a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter 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 a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder + getInListFilterBuilder() { + return getInListFilterFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A filter for a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder + getInListFilterOrBuilder() { + if ((oneFilterCase_ == 3) && (inListFilterBuilder_ != null)) { + return inListFilterBuilder_.getMessageOrBuilder(); + } else { + if (oneFilterCase_ == 3) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter for a string dimension that matches a particular list of
+     * options.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder> + getInListFilterFieldBuilder() { + if (inListFilterBuilder_ == null) { + if (!(oneFilterCase_ == 3)) { + oneFilter_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + .getDefaultInstance(); + } + inListFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_, + getParentForChildren(), + isClean()); + oneFilter_ = null; + } + oneFilterCase_ = 3; + onChanged(); + return inListFilterBuilder_; + } + + private java.lang.Object fieldName_ = ""; + /** + * + * + *
+     * Required. The dimension name to filter.
+     * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + } + } + /** + * + * + *
+     * Required. The dimension name to filter.
+     * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + } + } + /** + * + * + *
+     * Required. The dimension name to filter.
+     * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The dimension name to filter.
+     * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFieldName() { + fieldName_ = getDefaultInstance().getFieldName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The dimension name to filter.
+     * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @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; + bitField0_ |= 0x00000004; + 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.ExpandedDataSetFilter) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ExpandedDataSetFilter) + private static final com.google.analytics.admin.v1alpha.ExpandedDataSetFilter DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter(); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExpandedDataSetFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java new file mode 100644 index 000000000000..58b053fa6d5f --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java @@ -0,0 +1,1548 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * A logical expression of EnhancedDataSet dimension filters.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression} + */ +public final class ExpandedDataSetFilterExpression extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) + ExpandedDataSetFilterExpressionOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExpandedDataSetFilterExpression.newBuilder() to construct. + private ExpandedDataSetFilterExpression( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExpandedDataSetFilterExpression() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExpandedDataSetFilterExpression(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder.class); + } + + private int exprCase_ = 0; + private java.lang.Object expr_; + + public enum ExprCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + AND_GROUP(1), + NOT_EXPRESSION(2), + FILTER(3), + EXPR_NOT_SET(0); + private final int value; + + private ExprCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ExprCase valueOf(int value) { + return forNumber(value); + } + + public static ExprCase forNumber(int value) { + switch (value) { + case 1: + return AND_GROUP; + case 2: + return NOT_EXPRESSION; + case 3: + return FILTER; + case 0: + return EXPR_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ExprCase getExprCase() { + return ExprCase.forNumber(exprCase_); + } + + public static final int AND_GROUP_FIELD_NUMBER = 1; + /** + * + * + *
+   * A list of expressions to be AND’ed together. It must contain a
+   * ExpandedDataSetFilterExpression with either not_expression or
+   * dimension_filter. This must be set for the top level
+   * ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + * @return Whether the andGroup field is set. + */ + @java.lang.Override + public boolean hasAndGroup() { + return exprCase_ == 1; + } + /** + * + * + *
+   * A list of expressions to be AND’ed together. It must contain a
+   * ExpandedDataSetFilterExpression with either not_expression or
+   * dimension_filter. This must be set for the top level
+   * ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + * @return The andGroup. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList getAndGroup() { + if (exprCase_ == 1) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance(); + } + /** + * + * + *
+   * A list of expressions to be AND’ed together. It must contain a
+   * ExpandedDataSetFilterExpression with either not_expression or
+   * dimension_filter. This must be set for the top level
+   * ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder + getAndGroupOrBuilder() { + if (exprCase_ == 1) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance(); + } + + public static final int NOT_EXPRESSION_FIELD_NUMBER = 2; + /** + * + * + *
+   * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+   * must include a dimension_filter. This cannot be set on the
+   * top level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * + * @return Whether the notExpression field is set. + */ + @java.lang.Override + public boolean hasNotExpression() { + return exprCase_ == 2; + } + /** + * + * + *
+   * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+   * must include a dimension_filter. This cannot be set on the
+   * top level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * + * @return The notExpression. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getNotExpression() { + if (exprCase_ == 2) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.getDefaultInstance(); + } + /** + * + * + *
+   * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+   * must include a dimension_filter. This cannot be set on the
+   * top level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getNotExpressionOrBuilder() { + if (exprCase_ == 2) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.getDefaultInstance(); + } + + public static final int FILTER_FIELD_NUMBER = 3; + /** + * + * + *
+   * A filter on a single dimension. This cannot be set on the top
+   * level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + * + * @return Whether the filter field is set. + */ + @java.lang.Override + public boolean hasFilter() { + return exprCase_ == 3; + } + /** + * + * + *
+   * A filter on a single dimension. This cannot be set on the top
+   * level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + * + * @return The filter. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getFilter() { + if (exprCase_ == 3) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance(); + } + /** + * + * + *
+   * A filter on a single dimension. This cannot be set on the top
+   * level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder getFilterOrBuilder() { + if (exprCase_ == 3) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (exprCase_ == 1) { + output.writeMessage( + 1, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_); + } + if (exprCase_ == 2) { + output.writeMessage( + 2, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_); + } + if (exprCase_ == 3) { + output.writeMessage(3, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (exprCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_); + } + if (exprCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_); + } + if (exprCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_); + } + size += getUnknownFields().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.ExpandedDataSetFilterExpression)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression other = + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) obj; + + if (!getExprCase().equals(other.getExprCase())) return false; + switch (exprCase_) { + case 1: + if (!getAndGroup().equals(other.getAndGroup())) return false; + break; + case 2: + if (!getNotExpression().equals(other.getNotExpression())) return false; + break; + case 3: + if (!getFilter().equals(other.getFilter())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (exprCase_) { + case 1: + hash = (37 * hash) + AND_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getAndGroup().hashCode(); + break; + case 2: + hash = (37 * hash) + NOT_EXPRESSION_FIELD_NUMBER; + hash = (53 * hash) + getNotExpression().hashCode(); + break; + case 3: + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression 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.ExpandedDataSetFilterExpression parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression parseFrom( + 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.ExpandedDataSetFilterExpression parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression 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.ExpandedDataSetFilterExpression parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression 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.ExpandedDataSetFilterExpression + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + 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.ExpandedDataSetFilterExpression 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.ExpandedDataSetFilterExpression 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.ExpandedDataSetFilterExpression 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 logical expression of EnhancedDataSet dimension filters.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (andGroupBuilder_ != null) { + andGroupBuilder_.clear(); + } + if (notExpressionBuilder_ != null) { + notExpressionBuilder_.clear(); + } + if (filterBuilder_ != null) { + filterBuilder_.clear(); + } + exprCase_ = 0; + expr_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression build() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression buildPartial() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression result = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression result) { + result.exprCase_ = exprCase_; + result.expr_ = this.expr_; + if (exprCase_ == 1 && andGroupBuilder_ != null) { + result.expr_ = andGroupBuilder_.build(); + } + if (exprCase_ == 2 && notExpressionBuilder_ != null) { + result.expr_ = notExpressionBuilder_.build(); + } + if (exprCase_ == 3 && filterBuilder_ != null) { + result.expr_ = filterBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression other) { + if (other + == com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance()) return this; + switch (other.getExprCase()) { + case AND_GROUP: + { + mergeAndGroup(other.getAndGroup()); + break; + } + case NOT_EXPRESSION: + { + mergeNotExpression(other.getNotExpression()); + break; + } + case FILTER: + { + mergeFilter(other.getFilter()); + break; + } + case EXPR_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getAndGroupFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getNotExpressionFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int exprCase_ = 0; + private java.lang.Object expr_; + + public ExprCase getExprCase() { + return ExprCase.forNumber(exprCase_); + } + + public Builder clearExpr() { + exprCase_ = 0; + expr_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder> + andGroupBuilder_; + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + * + * @return Whether the andGroup field is set. + */ + @java.lang.Override + public boolean hasAndGroup() { + return exprCase_ == 1; + } + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + * + * @return The andGroup. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList getAndGroup() { + if (andGroupBuilder_ == null) { + if (exprCase_ == 1) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance(); + } else { + if (exprCase_ == 1) { + return andGroupBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance(); + } + } + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + */ + public Builder setAndGroup( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList value) { + if (andGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expr_ = value; + onChanged(); + } else { + andGroupBuilder_.setMessage(value); + } + exprCase_ = 1; + return this; + } + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + */ + public Builder setAndGroup( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder + builderForValue) { + if (andGroupBuilder_ == null) { + expr_ = builderForValue.build(); + onChanged(); + } else { + andGroupBuilder_.setMessage(builderForValue.build()); + } + exprCase_ = 1; + return this; + } + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + */ + public Builder mergeAndGroup( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList value) { + if (andGroupBuilder_ == null) { + if (exprCase_ == 1 + && expr_ + != com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance()) { + expr_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.newBuilder( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) + expr_) + .mergeFrom(value) + .buildPartial(); + } else { + expr_ = value; + } + onChanged(); + } else { + if (exprCase_ == 1) { + andGroupBuilder_.mergeFrom(value); + } else { + andGroupBuilder_.setMessage(value); + } + } + exprCase_ = 1; + return this; + } + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + */ + public Builder clearAndGroup() { + if (andGroupBuilder_ == null) { + if (exprCase_ == 1) { + exprCase_ = 0; + expr_ = null; + onChanged(); + } + } else { + if (exprCase_ == 1) { + exprCase_ = 0; + expr_ = null; + } + andGroupBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder + getAndGroupBuilder() { + return getAndGroupFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder + getAndGroupOrBuilder() { + if ((exprCase_ == 1) && (andGroupBuilder_ != null)) { + return andGroupBuilder_.getMessageOrBuilder(); + } else { + if (exprCase_ == 1) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance(); + } + } + /** + * + * + *
+     * A list of expressions to be AND’ed together. It must contain a
+     * ExpandedDataSetFilterExpression with either not_expression or
+     * dimension_filter. This must be set for the top level
+     * ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder> + getAndGroupFieldBuilder() { + if (andGroupBuilder_ == null) { + if (!(exprCase_ == 1)) { + expr_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance(); + } + andGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder>( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_, + getParentForChildren(), + isClean()); + expr_ = null; + } + exprCase_ = 1; + onChanged(); + return andGroupBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + notExpressionBuilder_; + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * + * @return Whether the notExpression field is set. + */ + @java.lang.Override + public boolean hasNotExpression() { + return exprCase_ == 2; + } + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * + * @return The notExpression. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getNotExpression() { + if (notExpressionBuilder_ == null) { + if (exprCase_ == 2) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance(); + } else { + if (exprCase_ == 2) { + return notExpressionBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + public Builder setNotExpression( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + if (notExpressionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expr_ = value; + onChanged(); + } else { + notExpressionBuilder_.setMessage(value); + } + exprCase_ = 2; + return this; + } + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + public Builder setNotExpression( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { + if (notExpressionBuilder_ == null) { + expr_ = builderForValue.build(); + onChanged(); + } else { + notExpressionBuilder_.setMessage(builderForValue.build()); + } + exprCase_ = 2; + return this; + } + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + public Builder mergeNotExpression( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + if (notExpressionBuilder_ == null) { + if (exprCase_ == 2 + && expr_ + != com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance()) { + expr_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.newBuilder( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_) + .mergeFrom(value) + .buildPartial(); + } else { + expr_ = value; + } + onChanged(); + } else { + if (exprCase_ == 2) { + notExpressionBuilder_.mergeFrom(value); + } else { + notExpressionBuilder_.setMessage(value); + } + } + exprCase_ = 2; + return this; + } + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + public Builder clearNotExpression() { + if (notExpressionBuilder_ == null) { + if (exprCase_ == 2) { + exprCase_ = 0; + expr_ = null; + onChanged(); + } + } else { + if (exprCase_ == 2) { + exprCase_ = 0; + expr_ = null; + } + notExpressionBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + getNotExpressionBuilder() { + return getNotExpressionFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getNotExpressionOrBuilder() { + if ((exprCase_ == 2) && (notExpressionBuilder_ != null)) { + return notExpressionBuilder_.getMessageOrBuilder(); + } else { + if (exprCase_ == 2) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+     * must include a dimension_filter. This cannot be set on the
+     * top level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + getNotExpressionFieldBuilder() { + if (notExpressionBuilder_ == null) { + if (!(exprCase_ == 2)) { + expr_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance(); + } + notExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder>( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_, + getParentForChildren(), + isClean()); + expr_ = null; + } + exprCase_ = 2; + onChanged(); + return notExpressionBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder> + filterBuilder_; + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + * + * @return Whether the filter field is set. + */ + @java.lang.Override + public boolean hasFilter() { + return exprCase_ == 3; + } + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + * + * @return The filter. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getFilter() { + if (filterBuilder_ == null) { + if (exprCase_ == 3) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance(); + } else { + if (exprCase_ == 3) { + return filterBuilder_.getMessage(); + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + public Builder setFilter(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter value) { + if (filterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expr_ = value; + onChanged(); + } else { + filterBuilder_.setMessage(value); + } + exprCase_ = 3; + return this; + } + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + public Builder setFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder builderForValue) { + if (filterBuilder_ == null) { + expr_ = builderForValue.build(); + onChanged(); + } else { + filterBuilder_.setMessage(builderForValue.build()); + } + exprCase_ = 3; + return this; + } + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + public Builder mergeFilter(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter value) { + if (filterBuilder_ == null) { + if (exprCase_ == 3 + && expr_ + != com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance()) { + expr_ = + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.newBuilder( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_) + .mergeFrom(value) + .buildPartial(); + } else { + expr_ = value; + } + onChanged(); + } else { + if (exprCase_ == 3) { + filterBuilder_.mergeFrom(value); + } else { + filterBuilder_.setMessage(value); + } + } + exprCase_ = 3; + return this; + } + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + public Builder clearFilter() { + if (filterBuilder_ == null) { + if (exprCase_ == 3) { + exprCase_ = 0; + expr_ = null; + onChanged(); + } + } else { + if (exprCase_ == 3) { + exprCase_ = 0; + expr_ = null; + } + filterBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder getFilterBuilder() { + return getFilterFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder getFilterOrBuilder() { + if ((exprCase_ == 3) && (filterBuilder_ != null)) { + return filterBuilder_.getMessageOrBuilder(); + } else { + if (exprCase_ == 3) { + return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_; + } + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter on a single dimension. This cannot be set on the top
+     * level ExpandedDataSetFilterExpression.
+     * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder> + getFilterFieldBuilder() { + if (filterBuilder_ == null) { + if (!(exprCase_ == 3)) { + expr_ = com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance(); + } + filterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_, + getParentForChildren(), + isClean()); + expr_ = null; + } + exprCase_ = 3; + onChanged(); + return filterBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) + private static final com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression(); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExpandedDataSetFilterExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java new file mode 100644 index 000000000000..e5eb785e28a6 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java @@ -0,0 +1,1038 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * A list of ExpandedDataSet filter expressions.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList} + */ +public final class ExpandedDataSetFilterExpressionList + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) + ExpandedDataSetFilterExpressionListOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExpandedDataSetFilterExpressionList.newBuilder() to construct. + private ExpandedDataSetFilterExpressionList( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExpandedDataSetFilterExpressionList() { + filterExpressions_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExpandedDataSetFilterExpressionList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder.class); + } + + public static final int FILTER_EXPRESSIONS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List + filterExpressions_; + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + @java.lang.Override + public java.util.List + getFilterExpressionsList() { + return filterExpressions_; + } + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + getFilterExpressionsOrBuilderList() { + return filterExpressions_; + } + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + @java.lang.Override + public int getFilterExpressionsCount() { + return filterExpressions_.size(); + } + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getFilterExpressions( + int index) { + return filterExpressions_.get(index); + } + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { + return filterExpressions_.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 < filterExpressions_.size(); i++) { + output.writeMessage(1, filterExpressions_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < filterExpressions_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, filterExpressions_.get(i)); + } + size += getUnknownFields().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.ExpandedDataSetFilterExpressionList)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList other = + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) obj; + + if (!getFilterExpressionsList().equals(other.getFilterExpressionsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getFilterExpressionsCount() > 0) { + hash = (37 * hash) + FILTER_EXPRESSIONS_FIELD_NUMBER; + hash = (53 * hash) + getFilterExpressionsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList 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.ExpandedDataSetFilterExpressionList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList parseFrom( + 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.ExpandedDataSetFilterExpressionList parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList 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.ExpandedDataSetFilterExpressionList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList 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.ExpandedDataSetFilterExpressionList + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + 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.ExpandedDataSetFilterExpressionList 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.ExpandedDataSetFilterExpressionList 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.ExpandedDataSetFilterExpressionList 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 ExpandedDataSet filter expressions.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (filterExpressionsBuilder_ == null) { + filterExpressions_ = java.util.Collections.emptyList(); + } else { + filterExpressions_ = null; + filterExpressionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetProto + .internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList build() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList buildPartial() { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result) { + if (filterExpressionsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + filterExpressions_ = java.util.Collections.unmodifiableList(filterExpressions_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.filterExpressions_ = filterExpressions_; + } else { + result.filterExpressions_ = filterExpressionsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList other) { + if (other + == com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance()) return this; + if (filterExpressionsBuilder_ == null) { + if (!other.filterExpressions_.isEmpty()) { + if (filterExpressions_.isEmpty()) { + filterExpressions_ = other.filterExpressions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFilterExpressionsIsMutable(); + filterExpressions_.addAll(other.filterExpressions_); + } + onChanged(); + } + } else { + if (!other.filterExpressions_.isEmpty()) { + if (filterExpressionsBuilder_.isEmpty()) { + filterExpressionsBuilder_.dispose(); + filterExpressionsBuilder_ = null; + filterExpressions_ = other.filterExpressions_; + bitField0_ = (bitField0_ & ~0x00000001); + filterExpressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilterExpressionsFieldBuilder() + : null; + } else { + filterExpressionsBuilder_.addAllMessages(other.filterExpressions_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression m = + input.readMessage( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.parser(), + extensionRegistry); + if (filterExpressionsBuilder_ == null) { + ensureFilterExpressionsIsMutable(); + filterExpressions_.add(m); + } else { + filterExpressionsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List + filterExpressions_ = java.util.Collections.emptyList(); + + private void ensureFilterExpressionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + filterExpressions_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression>( + filterExpressions_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + filterExpressionsBuilder_; + + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public java.util.List + getFilterExpressionsList() { + if (filterExpressionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(filterExpressions_); + } else { + return filterExpressionsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public int getFilterExpressionsCount() { + if (filterExpressionsBuilder_ == null) { + return filterExpressions_.size(); + } else { + return filterExpressionsBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getFilterExpressions( + int index) { + if (filterExpressionsBuilder_ == null) { + return filterExpressions_.get(index); + } else { + return filterExpressionsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder setFilterExpressions( + int index, com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + if (filterExpressionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFilterExpressionsIsMutable(); + filterExpressions_.set(index, value); + onChanged(); + } else { + filterExpressionsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder setFilterExpressions( + int index, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { + if (filterExpressionsBuilder_ == null) { + ensureFilterExpressionsIsMutable(); + filterExpressions_.set(index, builderForValue.build()); + onChanged(); + } else { + filterExpressionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder addFilterExpressions( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + if (filterExpressionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFilterExpressionsIsMutable(); + filterExpressions_.add(value); + onChanged(); + } else { + filterExpressionsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder addFilterExpressions( + int index, com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + if (filterExpressionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFilterExpressionsIsMutable(); + filterExpressions_.add(index, value); + onChanged(); + } else { + filterExpressionsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder addFilterExpressions( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { + if (filterExpressionsBuilder_ == null) { + ensureFilterExpressionsIsMutable(); + filterExpressions_.add(builderForValue.build()); + onChanged(); + } else { + filterExpressionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder addFilterExpressions( + int index, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { + if (filterExpressionsBuilder_ == null) { + ensureFilterExpressionsIsMutable(); + filterExpressions_.add(index, builderForValue.build()); + onChanged(); + } else { + filterExpressionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder addAllFilterExpressions( + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression> + values) { + if (filterExpressionsBuilder_ == null) { + ensureFilterExpressionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filterExpressions_); + onChanged(); + } else { + filterExpressionsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder clearFilterExpressions() { + if (filterExpressionsBuilder_ == null) { + filterExpressions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + filterExpressionsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public Builder removeFilterExpressions(int index) { + if (filterExpressionsBuilder_ == null) { + ensureFilterExpressionsIsMutable(); + filterExpressions_.remove(index); + onChanged(); + } else { + filterExpressionsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + getFilterExpressionsBuilder(int index) { + return getFilterExpressionsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { + if (filterExpressionsBuilder_ == null) { + return filterExpressions_.get(index); + } else { + return filterExpressionsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + getFilterExpressionsOrBuilderList() { + if (filterExpressionsBuilder_ != null) { + return filterExpressionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(filterExpressions_); + } + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + addFilterExpressionsBuilder() { + return getFilterExpressionsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance()); + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + addFilterExpressionsBuilder(int index) { + return getFilterExpressionsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance()); + } + /** + * + * + *
+     * A list of ExpandedDataSet filter expressions.
+     * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + public java.util.List< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder> + getFilterExpressionsBuilderList() { + return getFilterExpressionsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + getFilterExpressionsFieldBuilder() { + if (filterExpressionsBuilder_ == null) { + filterExpressionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder>( + filterExpressions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + filterExpressions_ = null; + } + return filterExpressionsBuilder_; + } + + @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.ExpandedDataSetFilterExpressionList) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) + private static final com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList(); + } + + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExpandedDataSetFilterExpressionList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java new file mode 100644 index 000000000000..a2c436d9198f --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java @@ -0,0 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +public interface ExpandedDataSetFilterExpressionListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + java.util.List + getFilterExpressionsList(); + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getFilterExpressions( + int index); + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + int getFilterExpressionsCount(); + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + java.util.List< + ? extends com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + getFilterExpressionsOrBuilderList(); + /** + * + * + *
+   * A list of ExpandedDataSet filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java new file mode 100644 index 000000000000..1e8060196799 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java @@ -0,0 +1,155 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +public interface ExpandedDataSetFilterExpressionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A list of expressions to be AND’ed together. It must contain a
+   * ExpandedDataSetFilterExpression with either not_expression or
+   * dimension_filter. This must be set for the top level
+   * ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + * @return Whether the andGroup field is set. + */ + boolean hasAndGroup(); + /** + * + * + *
+   * A list of expressions to be AND’ed together. It must contain a
+   * ExpandedDataSetFilterExpression with either not_expression or
+   * dimension_filter. This must be set for the top level
+   * ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + * @return The andGroup. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList getAndGroup(); + /** + * + * + *
+   * A list of expressions to be AND’ed together. It must contain a
+   * ExpandedDataSetFilterExpression with either not_expression or
+   * dimension_filter. This must be set for the top level
+   * ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder + getAndGroupOrBuilder(); + + /** + * + * + *
+   * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+   * must include a dimension_filter. This cannot be set on the
+   * top level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * + * @return Whether the notExpression field is set. + */ + boolean hasNotExpression(); + /** + * + * + *
+   * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+   * must include a dimension_filter. This cannot be set on the
+   * top level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * + * @return The notExpression. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getNotExpression(); + /** + * + * + *
+   * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+   * must include a dimension_filter. This cannot be set on the
+   * top level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getNotExpressionOrBuilder(); + + /** + * + * + *
+   * A filter on a single dimension. This cannot be set on the top
+   * level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter on a single dimension. This cannot be set on the top
+   * level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + * + * @return The filter. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getFilter(); + /** + * + * + *
+   * A filter on a single dimension. This cannot be set on the top
+   * level ExpandedDataSetFilterExpression.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3; + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder getFilterOrBuilder(); + + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.ExprCase getExprCase(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java new file mode 100644 index 000000000000..e7f652c64162 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java @@ -0,0 +1,133 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +public interface ExpandedDataSetFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ExpandedDataSetFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter for a string-type dimension that matches a particular pattern.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * + * @return Whether the stringFilter field is set. + */ + boolean hasStringFilter(); + /** + * + * + *
+   * A filter for a string-type dimension that matches a particular pattern.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * + * @return The stringFilter. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter getStringFilter(); + /** + * + * + *
+   * A filter for a string-type dimension that matches a particular pattern.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder + getStringFilterOrBuilder(); + + /** + * + * + *
+   * A filter for a string dimension that matches a particular list of
+   * options.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * + * @return Whether the inListFilter field is set. + */ + boolean hasInListFilter(); + /** + * + * + *
+   * A filter for a string dimension that matches a particular list of
+   * options.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * + * @return The inListFilter. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter getInListFilter(); + /** + * + * + *
+   * A filter for a string dimension that matches a particular list of
+   * options.
+   * 
+ * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder + getInListFilterOrBuilder(); + + /** + * + * + *
+   * Required. The dimension name to filter.
+   * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The fieldName. + */ + java.lang.String getFieldName(); + /** + * + * + *
+   * Required. The dimension name to filter.
+   * 
+ * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for fieldName. + */ + com.google.protobuf.ByteString getFieldNameBytes(); + + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.OneFilterCase getOneFilterCase(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java new file mode 100644 index 000000000000..51820f6cac7a --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java @@ -0,0 +1,324 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +public interface ExpandedDataSetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ExpandedDataSet) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The resource name for this ExpandedDataSet resource.
+   * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. The resource name for this ExpandedDataSet resource.
+   * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. The display name of the ExpandedDataSet.
+   * Max 200 chars.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
+   * Required. The display name of the ExpandedDataSet.
+   * Max 200 chars.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * Optional. The description of the ExpandedDataSet.
+   * Max 50 chars.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
+   * Optional. The description of the ExpandedDataSet.
+   * Max 50 chars.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+   * Immutable. The list of dimensions included in the ExpandedDataSet.
+   * See the [API
+   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+   * for the list of dimension names.
+   * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return A list containing the dimensionNames. + */ + java.util.List getDimensionNamesList(); + /** + * + * + *
+   * Immutable. The list of dimensions included in the ExpandedDataSet.
+   * See the [API
+   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+   * for the list of dimension names.
+   * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The count of dimensionNames. + */ + int getDimensionNamesCount(); + /** + * + * + *
+   * Immutable. The list of dimensions included in the ExpandedDataSet.
+   * See the [API
+   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+   * for the list of dimension names.
+   * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the element to return. + * @return The dimensionNames at the given index. + */ + java.lang.String getDimensionNames(int index); + /** + * + * + *
+   * Immutable. The list of dimensions included in the ExpandedDataSet.
+   * See the [API
+   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+   * for the list of dimension names.
+   * 
+ * + * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the value to return. + * @return The bytes of the dimensionNames at the given index. + */ + com.google.protobuf.ByteString getDimensionNamesBytes(int index); + + /** + * + * + *
+   * Immutable. The list of metrics included in the ExpandedDataSet.
+   * See the [API
+   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+   * for the list of dimension names.
+   * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return A list containing the metricNames. + */ + java.util.List getMetricNamesList(); + /** + * + * + *
+   * Immutable. The list of metrics included in the ExpandedDataSet.
+   * See the [API
+   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+   * for the list of dimension names.
+   * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The count of metricNames. + */ + int getMetricNamesCount(); + /** + * + * + *
+   * Immutable. The list of metrics included in the ExpandedDataSet.
+   * See the [API
+   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+   * for the list of dimension names.
+   * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the element to return. + * @return The metricNames at the given index. + */ + java.lang.String getMetricNames(int index); + /** + * + * + *
+   * Immutable. The list of metrics included in the ExpandedDataSet.
+   * See the [API
+   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+   * for the list of dimension names.
+   * 
+ * + * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param index The index of the value to return. + * @return The bytes of the metricNames at the given index. + */ + com.google.protobuf.ByteString getMetricNamesBytes(int index); + + /** + * + * + *
+   * Immutable. A logical expression of ExpandedDataSet filters applied to
+   * dimension included in the ExpandedDataSet. This filter is used to reduce
+   * the number of rows and thus the change of encountering `other row`.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the dimensionFilterExpression field is set. + */ + boolean hasDimensionFilterExpression(); + /** + * + * + *
+   * Immutable. A logical expression of ExpandedDataSet filters applied to
+   * dimension included in the ExpandedDataSet. This filter is used to reduce
+   * the number of rows and thus the change of encountering `other row`.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The dimensionFilterExpression. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getDimensionFilterExpression(); + /** + * + * + *
+   * Immutable. A logical expression of ExpandedDataSet filters applied to
+   * dimension included in the ExpandedDataSet. This filter is used to reduce
+   * the number of rows and thus the change of encountering `other row`.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getDimensionFilterExpressionOrBuilder(); + + /** + * + * + *
+   * Output only. Time when expanded data set began (or will begin) collecing
+   * data.
+   * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the dataCollectionStartTime field is set. + */ + boolean hasDataCollectionStartTime(); + /** + * + * + *
+   * Output only. Time when expanded data set began (or will begin) collecing
+   * data.
+   * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The dataCollectionStartTime. + */ + com.google.protobuf.Timestamp getDataCollectionStartTime(); + /** + * + * + *
+   * Output only. Time when expanded data set began (or will begin) collecing
+   * data.
+   * 
+ * + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getDataCollectionStartTimeOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java new file mode 100644 index 000000000000..18df9164cfc7 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java @@ -0,0 +1,186 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/expanded_data_set.proto + +package com.google.analytics.admin.v1alpha; + +public final class ExpandedDataSetProto { + private ExpandedDataSetProto() {} + + 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_ExpandedDataSetFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/analytics/admin/v1alpha/expande" + + "d_data_set.proto\022\036google.analytics.admin" + + ".v1alpha\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032\037google/pro" + + "tobuf/timestamp.proto\"\246\004\n\025ExpandedDataSe" + + "tFilter\022[\n\rstring_filter\030\002 \001(\0132B.google." + + "analytics.admin.v1alpha.ExpandedDataSetF" + + "ilter.StringFilterH\000\022\\\n\016in_list_filter\030\003" + + " \001(\0132B.google.analytics.admin.v1alpha.Ex" + + "pandedDataSetFilter.InListFilterH\000\022\027\n\nfi" + + "eld_name\030\001 \001(\tB\003\340A\002\032\350\001\n\014StringFilter\022e\n\n" + + "match_type\030\001 \001(\0162L.google.analytics.admi" + + "n.v1alpha.ExpandedDataSetFilter.StringFi" + + "lter.MatchTypeB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002\022" + + "\033\n\016case_sensitive\030\003 \001(\010B\003\340A\001\"@\n\tMatchTyp" + + "e\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001" + + "\022\014\n\010CONTAINS\020\002\032@\n\014InListFilter\022\023\n\006values" + + "\030\001 \003(\tB\003\340A\002\022\033\n\016case_sensitive\030\002 \001(\010B\003\340A\001" + + "B\014\n\none_filter\"\247\002\n\037ExpandedDataSetFilter" + + "Expression\022X\n\tand_group\030\001 \001(\0132C.google.a" + + "nalytics.admin.v1alpha.ExpandedDataSetFi" + + "lterExpressionListH\000\022Y\n\016not_expression\030\002" + + " \001(\0132?.google.analytics.admin.v1alpha.Ex" + + "pandedDataSetFilterExpressionH\000\022G\n\006filte" + + "r\030\003 \001(\01325.google.analytics.admin.v1alpha" + + ".ExpandedDataSetFilterH\000B\006\n\004expr\"\202\001\n#Exp" + + "andedDataSetFilterExpressionList\022[\n\022filt" + + "er_expressions\030\001 \003(\0132?.google.analytics." + + "admin.v1alpha.ExpandedDataSetFilterExpre" + + "ssion\"\262\003\n\017ExpandedDataSet\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013descr" + + "iption\030\003 \001(\tB\003\340A\001\022\034\n\017dimension_names\030\004 \003" + + "(\tB\003\340A\005\022\031\n\014metric_names\030\005 \003(\tB\003\340A\005\022i\n\033di" + + "mension_filter_expression\030\006 \001(\0132?.google" + + ".analytics.admin.v1alpha.ExpandedDataSet" + + "FilterExpressionB\003\340A\005\022C\n\032data_collection" + + "_start_time\030\007 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003:n\352Ak\n-analyticsadmin.googleap" + + "is.com/ExpandedDataSet\022:properties/{prop" + + "erty}/expandedDataSets/{expanded_data_se" + + "t}B\201\001\n\"com.google.analytics.admin.v1alph" + + "aB\024ExpandedDataSetProtoP\001ZCgoogle.golang" + + ".org/genproto/googleapis/analytics/admin" + + "/v1alpha;adminb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_descriptor, + new java.lang.String[] { + "StringFilter", "InListFilter", "FieldName", "OneFilter", + }); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_StringFilter_descriptor, + new java.lang.String[] { + "MatchType", "Value", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_descriptor + .getNestedTypes() + .get(1); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilter_InListFilter_descriptor, + new java.lang.String[] { + "Values", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpression_descriptor, + new java.lang.String[] { + "AndGroup", "NotExpression", "Filter", "Expr", + }); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ExpandedDataSetFilterExpressionList_descriptor, + new java.lang.String[] { + "FilterExpressions", + }); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ExpandedDataSet_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Description", + "DimensionNames", + "MetricNames", + "DimensionFilterExpression", + "DataCollectionStartTime", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@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/FetchAutomatedGa4ConfigurationOptOutRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java new file mode 100644 index 000000000000..c7db65e7b0ba --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java @@ -0,0 +1,683 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Request for fetching the opt out status for the automated GA4 setup process.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest} + */ +public final class FetchAutomatedGa4ConfigurationOptOutRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) + FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() to construct. + private FetchAutomatedGa4ConfigurationOptOutRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FetchAutomatedGa4ConfigurationOptOutRequest() { + property_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new FetchAutomatedGa4ConfigurationOptOutRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest.class, + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest.Builder + .class); + } + + public static final int PROPERTY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object property_ = ""; + /** + * + * + *
+   * Required. The UA property to get the opt out status. Note this request uses
+   * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+   * Format: properties/{internalWebPropertyId}
+   * Example: properties/1234
+   * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The property. + */ + @java.lang.Override + public java.lang.String getProperty() { + java.lang.Object ref = property_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + property_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The UA property to get the opt out status. Note this request uses
+   * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+   * Format: properties/{internalWebPropertyId}
+   * Example: properties/1234
+   * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for property. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPropertyBytes() { + java.lang.Object ref = property_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + property_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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(property_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); + } + size += getUnknownFields().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.FetchAutomatedGa4ConfigurationOptOutRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest other = + (com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) obj; + + if (!getProperty().equals(other.getProperty())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROPERTY_FIELD_NUMBER; + hash = (53 * hash) + getProperty().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + 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.FetchAutomatedGa4ConfigurationOptOutRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + parseFrom( + 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.FetchAutomatedGa4ConfigurationOptOutRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + 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.FetchAutomatedGa4ConfigurationOptOutRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + 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.FetchAutomatedGa4ConfigurationOptOutRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + 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.FetchAutomatedGa4ConfigurationOptOutRequest + 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.FetchAutomatedGa4ConfigurationOptOutRequest + 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.FetchAutomatedGa4ConfigurationOptOutRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request for fetching the opt out status for the automated GA4 setup process.
+   * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest.class, + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest.Builder + .class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + property_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest build() { + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + buildPartial() { + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest result = + new com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.property_ = property_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest other) { + if (other + == com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + .getDefaultInstance()) return this; + if (!other.getProperty().isEmpty()) { + property_ = other.property_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object property_ = ""; + /** + * + * + *
+     * Required. The UA property to get the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The property. + */ + public java.lang.String getProperty() { + java.lang.Object ref = property_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + property_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The UA property to get the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for property. + */ + public com.google.protobuf.ByteString getPropertyBytes() { + java.lang.Object ref = property_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + property_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The UA property to get the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The property to set. + * @return This builder for chaining. + */ + public Builder setProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + property_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The UA property to get the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProperty() { + property_ = getDefaultInstance().getProperty(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The UA property to get the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for property to set. + * @return This builder for chaining. + */ + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; + bitField0_ |= 0x00000001; + 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.FetchAutomatedGa4ConfigurationOptOutRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) + private static final com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest(); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchAutomatedGa4ConfigurationOptOutRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java new file mode 100644 index 000000000000..7c50fa83f816 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.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/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The UA property to get the opt out status. Note this request uses
+   * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+   * Format: properties/{internalWebPropertyId}
+   * Example: properties/1234
+   * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The property. + */ + java.lang.String getProperty(); + /** + * + * + *
+   * Required. The UA property to get the opt out status. Note this request uses
+   * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+   * Format: properties/{internalWebPropertyId}
+   * Example: properties/1234
+   * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for property. + */ + com.google.protobuf.ByteString getPropertyBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java new file mode 100644 index 000000000000..01534f0804b2 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java @@ -0,0 +1,575 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Response message for fetching the opt out status for the automated GA4 setup
+ * process.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse} + */ +public final class FetchAutomatedGa4ConfigurationOptOutResponse + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse) + FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use FetchAutomatedGa4ConfigurationOptOutResponse.newBuilder() to construct. + private FetchAutomatedGa4ConfigurationOptOutResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FetchAutomatedGa4ConfigurationOptOutResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new FetchAutomatedGa4ConfigurationOptOutResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse.class, + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse.Builder + .class); + } + + public static final int OPT_OUT_FIELD_NUMBER = 1; + private boolean optOut_ = false; + /** + * + * + *
+   * The opt out status for the UA property.
+   * 
+ * + * bool opt_out = 1; + * + * @return The optOut. + */ + @java.lang.Override + public boolean getOptOut() { + return optOut_; + } + + 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 (optOut_ != false) { + output.writeBool(1, optOut_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (optOut_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, optOut_); + } + size += getUnknownFields().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.FetchAutomatedGa4ConfigurationOptOutResponse)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse other = + (com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse) obj; + + if (getOptOut() != other.getOptOut()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) 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) + OPT_OUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOptOut()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + 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.FetchAutomatedGa4ConfigurationOptOutResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + parseFrom( + 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.FetchAutomatedGa4ConfigurationOptOutResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + 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.FetchAutomatedGa4ConfigurationOptOutResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + 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.FetchAutomatedGa4ConfigurationOptOutResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + 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.FetchAutomatedGa4ConfigurationOptOutResponse + 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.FetchAutomatedGa4ConfigurationOptOutResponse + 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.FetchAutomatedGa4ConfigurationOptOutResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for fetching the opt out status for the automated GA4 setup
+   * process.
+   * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse) + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse.class, + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + .Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + optOut_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchAutomatedGa4ConfigurationOptOutResponse_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse build() { + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + buildPartial() { + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse result = + new com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.optOut_ = optOut_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse other) { + if (other + == com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + .getDefaultInstance()) return this; + if (other.getOptOut() != false) { + setOptOut(other.getOptOut()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + optOut_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private boolean optOut_; + /** + * + * + *
+     * The opt out status for the UA property.
+     * 
+ * + * bool opt_out = 1; + * + * @return The optOut. + */ + @java.lang.Override + public boolean getOptOut() { + return optOut_; + } + /** + * + * + *
+     * The opt out status for the UA property.
+     * 
+ * + * bool opt_out = 1; + * + * @param value The optOut to set. + * @return This builder for chaining. + */ + public Builder setOptOut(boolean value) { + + optOut_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The opt out status for the UA property.
+     * 
+ * + * bool opt_out = 1; + * + * @return This builder for chaining. + */ + public Builder clearOptOut() { + bitField0_ = (bitField0_ & ~0x00000001); + optOut_ = 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.FetchAutomatedGa4ConfigurationOptOutResponse) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse) + private static final com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse(); + } + + public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchAutomatedGa4ConfigurationOptOutResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java new file mode 100644 index 000000000000..6ff0ab1ed55e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +public interface FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The opt out status for the UA property.
+   * 
+ * + * bool opt_out = 1; + * + * @return The optOut. + */ + boolean getOptOut(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java index 2c0c25f07111..da75da499f80 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java @@ -127,9 +127,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-   * provide this resource name using either a project number or project ID.
-   * Once this resource has been created, returned FirebaseLinks will always
+   * Immutable. Firebase project resource name. When creating a FirebaseLink,
+   * you may provide this resource name using either a project number or project
+   * ID. Once this resource has been created, returned FirebaseLinks will always
    * have a project_name that contains a project number.
    * Format: 'projects/{project number}'
    * Example: 'projects/1234'
@@ -155,9 +155,9 @@ public java.lang.String getProject() {
    *
    *
    * 
-   * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-   * provide this resource name using either a project number or project ID.
-   * Once this resource has been created, returned FirebaseLinks will always
+   * Immutable. Firebase project resource name. When creating a FirebaseLink,
+   * you may provide this resource name using either a project number or project
+   * ID. Once this resource has been created, returned FirebaseLinks will always
    * have a project_name that contains a project number.
    * Format: 'projects/{project number}'
    * Example: 'projects/1234'
@@ -737,9 +737,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-     * provide this resource name using either a project number or project ID.
-     * Once this resource has been created, returned FirebaseLinks will always
+     * Immutable. Firebase project resource name. When creating a FirebaseLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, returned FirebaseLinks will always
      * have a project_name that contains a project number.
      * Format: 'projects/{project number}'
      * Example: 'projects/1234'
@@ -764,9 +764,9 @@ public java.lang.String getProject() {
      *
      *
      * 
-     * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-     * provide this resource name using either a project number or project ID.
-     * Once this resource has been created, returned FirebaseLinks will always
+     * Immutable. Firebase project resource name. When creating a FirebaseLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, returned FirebaseLinks will always
      * have a project_name that contains a project number.
      * Format: 'projects/{project number}'
      * Example: 'projects/1234'
@@ -791,9 +791,9 @@ public com.google.protobuf.ByteString getProjectBytes() {
      *
      *
      * 
-     * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-     * provide this resource name using either a project number or project ID.
-     * Once this resource has been created, returned FirebaseLinks will always
+     * Immutable. Firebase project resource name. When creating a FirebaseLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, returned FirebaseLinks will always
      * have a project_name that contains a project number.
      * Format: 'projects/{project number}'
      * Example: 'projects/1234'
@@ -817,9 +817,9 @@ public Builder setProject(java.lang.String value) {
      *
      *
      * 
-     * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-     * provide this resource name using either a project number or project ID.
-     * Once this resource has been created, returned FirebaseLinks will always
+     * Immutable. Firebase project resource name. When creating a FirebaseLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, returned FirebaseLinks will always
      * have a project_name that contains a project number.
      * Format: 'projects/{project number}'
      * Example: 'projects/1234'
@@ -839,9 +839,9 @@ public Builder clearProject() {
      *
      *
      * 
-     * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-     * provide this resource name using either a project number or project ID.
-     * Once this resource has been created, returned FirebaseLinks will always
+     * Immutable. Firebase project resource name. When creating a FirebaseLink,
+     * you may provide this resource name using either a project number or project
+     * ID. Once this resource has been created, returned FirebaseLinks will always
      * have a project_name that contains a project number.
      * Format: 'projects/{project number}'
      * Example: 'projects/1234'
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java
index 95769d4a6712..74e70579d38b 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java
@@ -52,9 +52,9 @@ public interface FirebaseLinkOrBuilder
    *
    *
    * 
-   * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-   * provide this resource name using either a project number or project ID.
-   * Once this resource has been created, returned FirebaseLinks will always
+   * Immutable. Firebase project resource name. When creating a FirebaseLink,
+   * you may provide this resource name using either a project number or project
+   * ID. Once this resource has been created, returned FirebaseLinks will always
    * have a project_name that contains a project number.
    * Format: 'projects/{project number}'
    * Example: 'projects/1234'
@@ -69,9 +69,9 @@ public interface FirebaseLinkOrBuilder
    *
    *
    * 
-   * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
-   * provide this resource name using either a project number or project ID.
-   * Once this resource has been created, returned FirebaseLinks will always
+   * Immutable. Firebase project resource name. When creating a FirebaseLink,
+   * you may provide this resource name using either a project number or project
+   * ID. Once this resource has been created, returned FirebaseLinks will always
    * have a project_name that contains a project number.
    * Format: 'projects/{project number}'
    * Example: 'projects/1234'
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java
new file mode 100644
index 000000000000..6c041cb95636
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java
@@ -0,0 +1,658 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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;
+
+/**
+ *
+ *
+ * 
+ * Request message for GetBigQueryLink RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.GetBigQueryLinkRequest} + */ +public final class GetBigQueryLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetBigQueryLinkRequest) + GetBigQueryLinkRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetBigQueryLinkRequest.newBuilder() to construct. + private GetBigQueryLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetBigQueryLinkRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetBigQueryLinkRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.class, + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the BigQuery link to lookup.
+   * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+   * Example: properties/123/bigQueryLinks/456
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the BigQuery link to lookup.
+   * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+   * Example: properties/123/bigQueryLinks/456
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().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.GetBigQueryLinkRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest other = + (com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest 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.GetBigQueryLinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest parseFrom( + 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.GetBigQueryLinkRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest 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.GetBigQueryLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest 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.GetBigQueryLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest 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.GetBigQueryLinkRequest 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.GetBigQueryLinkRequest 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.GetBigQueryLinkRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for GetBigQueryLink RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.GetBigQueryLinkRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetBigQueryLinkRequest) + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.class, + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetBigQueryLinkRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest build() { + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest result = + new com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the BigQuery link to lookup.
+     * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+     * Example: properties/123/bigQueryLinks/456
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the BigQuery link to lookup.
+     * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+     * Example: properties/123/bigQueryLinks/456
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the BigQuery link to lookup.
+     * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+     * Example: properties/123/bigQueryLinks/456
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the BigQuery link to lookup.
+     * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+     * Example: properties/123/bigQueryLinks/456
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the BigQuery link to lookup.
+     * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+     * Example: properties/123/bigQueryLinks/456
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + 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.GetBigQueryLinkRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetBigQueryLinkRequest) + private static final com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest(); + } + + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetBigQueryLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java new file mode 100644 index 000000000000..1a54cc43d465 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetBigQueryLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetBigQueryLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the BigQuery link to lookup.
+   * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+   * Example: properties/123/bigQueryLinks/456
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the BigQuery link to lookup.
+   * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+   * Example: properties/123/bigQueryLinks/456
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java new file mode 100644 index 000000000000..d829f4863641 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java @@ -0,0 +1,655 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Request message for GetSearchAds360Link RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.GetSearchAds360LinkRequest} + */ +public final class GetSearchAds360LinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) + GetSearchAds360LinkRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetSearchAds360LinkRequest.newBuilder() to construct. + private GetSearchAds360LinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetSearchAds360LinkRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetSearchAds360LinkRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.class, + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the SearchAds360Link to get.
+   * Example format: properties/1234/SearchAds360Link/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the SearchAds360Link to get.
+   * Example format: properties/1234/SearchAds360Link/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().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.GetSearchAds360LinkRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest other = + (com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest 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.GetSearchAds360LinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest parseFrom( + 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.GetSearchAds360LinkRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest 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.GetSearchAds360LinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest 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.GetSearchAds360LinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest 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.GetSearchAds360LinkRequest 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.GetSearchAds360LinkRequest 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.GetSearchAds360LinkRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for GetSearchAds360Link RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.GetSearchAds360LinkRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.class, + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest build() { + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest result = + new com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the SearchAds360Link to get.
+     * Example format: properties/1234/SearchAds360Link/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the SearchAds360Link to get.
+     * Example format: properties/1234/SearchAds360Link/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the SearchAds360Link to get.
+     * Example format: properties/1234/SearchAds360Link/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the SearchAds360Link to get.
+     * Example format: properties/1234/SearchAds360Link/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the SearchAds360Link to get.
+     * Example format: properties/1234/SearchAds360Link/5678
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + 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.GetSearchAds360LinkRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) + private static final com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest(); + } + + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSearchAds360LinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java new file mode 100644 index 000000000000..0835da2cf383 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.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/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetSearchAds360LinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the SearchAds360Link to get.
+   * Example format: properties/1234/SearchAds360Link/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the SearchAds360Link to get.
+   * Example format: properties/1234/SearchAds360Link/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java index 191a05f23c0a..d9e3cad3fd90 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java @@ -132,8 +132,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-   * every webpage to measure.
+   * Immutable. JavaScript code snippet to be pasted as the first item into the
+   * head tag of every webpage to measure.
    * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -156,8 +156,8 @@ public java.lang.String getSnippet() { * * *
-   * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-   * every webpage to measure.
+   * Immutable. JavaScript code snippet to be pasted as the first item into the
+   * head tag of every webpage to measure.
    * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -665,8 +665,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-     * every webpage to measure.
+     * Immutable. JavaScript code snippet to be pasted as the first item into the
+     * head tag of every webpage to measure.
      * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -688,8 +688,8 @@ public java.lang.String getSnippet() { * * *
-     * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-     * every webpage to measure.
+     * Immutable. JavaScript code snippet to be pasted as the first item into the
+     * head tag of every webpage to measure.
      * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -711,8 +711,8 @@ public com.google.protobuf.ByteString getSnippetBytes() { * * *
-     * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-     * every webpage to measure.
+     * Immutable. JavaScript code snippet to be pasted as the first item into the
+     * head tag of every webpage to measure.
      * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -733,8 +733,8 @@ public Builder setSnippet(java.lang.String value) { * * *
-     * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-     * every webpage to measure.
+     * Immutable. JavaScript code snippet to be pasted as the first item into the
+     * head tag of every webpage to measure.
      * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -751,8 +751,8 @@ public Builder clearSnippet() { * * *
-     * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-     * every webpage to measure.
+     * Immutable. JavaScript code snippet to be pasted as the first item into the
+     * head tag of every webpage to measure.
      * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java index 2bb623e0939a..3c81ccf88288 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java @@ -56,8 +56,8 @@ public interface GlobalSiteTagOrBuilder * * *
-   * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-   * every webpage to measure.
+   * Immutable. JavaScript code snippet to be pasted as the first item into the
+   * head tag of every webpage to measure.
    * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -69,8 +69,8 @@ public interface GlobalSiteTagOrBuilder * * *
-   * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
-   * every webpage to measure.
+   * Immutable. JavaScript code snippet to be pasted as the first item into the
+   * head tag of every webpage to measure.
    * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java index 4f6226452fb6..ab091021ac52 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java @@ -77,7 +77,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+   * Output only. Format:
+   * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* @@ -101,7 +102,8 @@ public java.lang.String getName() { * * *
-   * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+   * Output only. Format:
+   * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* @@ -918,7 +920,8 @@ public Builder mergeFrom( * * *
-     * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+     * Output only. Format:
+     * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* @@ -941,7 +944,8 @@ public java.lang.String getName() { * * *
-     * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+     * Output only. Format:
+     * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* @@ -964,7 +968,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+     * Output only. Format:
+     * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* @@ -986,7 +991,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+     * Output only. Format:
+     * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* @@ -1004,7 +1010,8 @@ public Builder clearName() { * * *
-     * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+     * Output only. Format:
+     * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
      * Note: googleAdsLinkId is not the Google Ads customer ID.
      * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java index 048315793699..f8951f4b861e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java @@ -27,7 +27,8 @@ public interface GoogleAdsLinkOrBuilder * * *
-   * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+   * Output only. Format:
+   * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* @@ -40,7 +41,8 @@ public interface GoogleAdsLinkOrBuilder * * *
-   * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+   * Output only. Format:
+   * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
    * Note: googleAdsLinkId is not the Google Ads customer ID.
    * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java new file mode 100644 index 000000000000..47c0b58ed633 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java @@ -0,0 +1,966 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Request message for ListBigQueryLinks RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListBigQueryLinksRequest} + */ +public final class ListBigQueryLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListBigQueryLinksRequest) + ListBigQueryLinksRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListBigQueryLinksRequest.newBuilder() to construct. + private ListBigQueryLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListBigQueryLinksRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListBigQueryLinksRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.class, + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The name of the property to list BigQuery links under.
+   * Format: properties/{property_id}
+   * Example: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the property to list BigQuery links under.
+   * Format: properties/{property_id}
+   * Example: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + /** + * + * + *
+   * The maximum number of resources to return. The service may return
+   * fewer than this value, even if there are additional pages.
+   * If unspecified, at most 50 resources will be returned.
+   * The maximum value is 200; (higher values will be coerced to the maximum)
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * A page token, received from a previous `ListBigQueryLinks` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListBigQueryLinks` must
+   * match the call that provided the page token.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * A page token, received from a previous `ListBigQueryLinks` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListBigQueryLinks` must
+   * match the call that provided the page token.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = 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(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += getUnknownFields().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.ListBigQueryLinksRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest other = + (com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest 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.ListBigQueryLinksRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest parseFrom( + 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.ListBigQueryLinksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest 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.ListBigQueryLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest 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.ListBigQueryLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest 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.ListBigQueryLinksRequest 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.ListBigQueryLinksRequest 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.ListBigQueryLinksRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for ListBigQueryLinks RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListBigQueryLinksRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListBigQueryLinksRequest) + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.class, + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest build() { + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest buildPartial() { + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest result = + new com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest other) { + if (other == com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The name of the property to list BigQuery links under.
+     * Format: properties/{property_id}
+     * Example: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the property to list BigQuery links under.
+     * Format: properties/{property_id}
+     * Example: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the property to list BigQuery links under.
+     * Format: properties/{property_id}
+     * Example: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the property to list BigQuery links under.
+     * Format: properties/{property_id}
+     * Example: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the property to list BigQuery links under.
+     * Format: properties/{property_id}
+     * Example: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * The maximum number of resources to return. The service may return
+     * fewer than this value, even if there are additional pages.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200; (higher values will be coerced to the maximum)
+     * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * The maximum number of resources to return. The service may return
+     * fewer than this value, even if there are additional pages.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200; (higher values will be coerced to the maximum)
+     * 
+ * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of resources to return. The service may return
+     * fewer than this value, even if there are additional pages.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200; (higher values will be coerced to the maximum)
+     * 
+ * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * A page token, received from a previous `ListBigQueryLinks` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListBigQueryLinks` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A page token, received from a previous `ListBigQueryLinks` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListBigQueryLinks` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A page token, received from a previous `ListBigQueryLinks` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListBigQueryLinks` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * A page token, received from a previous `ListBigQueryLinks` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListBigQueryLinks` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * A page token, received from a previous `ListBigQueryLinks` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListBigQueryLinks` must
+     * match the call that provided the page token.
+     * 
+ * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + 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.ListBigQueryLinksRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListBigQueryLinksRequest) + private static final com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest(); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBigQueryLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java new file mode 100644 index 000000000000..be8eed9a062a --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java @@ -0,0 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +public interface ListBigQueryLinksRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListBigQueryLinksRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the property to list BigQuery links under.
+   * Format: properties/{property_id}
+   * Example: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The name of the property to list BigQuery links under.
+   * Format: properties/{property_id}
+   * Example: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The maximum number of resources to return. The service may return
+   * fewer than this value, even if there are additional pages.
+   * If unspecified, at most 50 resources will be returned.
+   * The maximum value is 200; (higher values will be coerced to the maximum)
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * A page token, received from a previous `ListBigQueryLinks` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListBigQueryLinks` must
+   * match the call that provided the page token.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * A page token, received from a previous `ListBigQueryLinks` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListBigQueryLinks` must
+   * match the call that provided the page token.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java new file mode 100644 index 000000000000..7570602bee13 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java @@ -0,0 +1,1147 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Response message for ListBigQueryLinks RPC
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListBigQueryLinksResponse} + */ +public final class ListBigQueryLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListBigQueryLinksResponse) + ListBigQueryLinksResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListBigQueryLinksResponse.newBuilder() to construct. + private ListBigQueryLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListBigQueryLinksResponse() { + bigqueryLinks_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListBigQueryLinksResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.class, + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.Builder.class); + } + + public static final int BIGQUERY_LINKS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List bigqueryLinks_; + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + @java.lang.Override + public java.util.List getBigqueryLinksList() { + return bigqueryLinks_; + } + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + @java.lang.Override + public java.util.List + getBigqueryLinksOrBuilderList() { + return bigqueryLinks_; + } + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + @java.lang.Override + public int getBigqueryLinksCount() { + return bigqueryLinks_.size(); + } + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLinks(int index) { + return bigqueryLinks_.get(index); + } + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinksOrBuilder( + int index) { + return bigqueryLinks_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < bigqueryLinks_.size(); i++) { + output.writeMessage(1, bigqueryLinks_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < bigqueryLinks_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, bigqueryLinks_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().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.ListBigQueryLinksResponse)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse other = + (com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse) obj; + + if (!getBigqueryLinksList().equals(other.getBigqueryLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getBigqueryLinksCount() > 0) { + hash = (37 * hash) + BIGQUERY_LINKS_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryLinksList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse 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.ListBigQueryLinksResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse parseFrom( + 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.ListBigQueryLinksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse 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.ListBigQueryLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse 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.ListBigQueryLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse 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.ListBigQueryLinksResponse 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.ListBigQueryLinksResponse 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.ListBigQueryLinksResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for ListBigQueryLinks RPC
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListBigQueryLinksResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListBigQueryLinksResponse) + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.class, + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (bigqueryLinksBuilder_ == null) { + bigqueryLinks_ = java.util.Collections.emptyList(); + } else { + bigqueryLinks_ = null; + bigqueryLinksBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListBigQueryLinksResponse_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse build() { + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse buildPartial() { + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result = + new com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result) { + if (bigqueryLinksBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + bigqueryLinks_ = java.util.Collections.unmodifiableList(bigqueryLinks_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.bigqueryLinks_ = bigqueryLinks_; + } else { + result.bigqueryLinks_ = bigqueryLinksBuilder_.build(); + } + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.getDefaultInstance()) + return this; + if (bigqueryLinksBuilder_ == null) { + if (!other.bigqueryLinks_.isEmpty()) { + if (bigqueryLinks_.isEmpty()) { + bigqueryLinks_ = other.bigqueryLinks_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.addAll(other.bigqueryLinks_); + } + onChanged(); + } + } else { + if (!other.bigqueryLinks_.isEmpty()) { + if (bigqueryLinksBuilder_.isEmpty()) { + bigqueryLinksBuilder_.dispose(); + bigqueryLinksBuilder_ = null; + bigqueryLinks_ = other.bigqueryLinks_; + bitField0_ = (bitField0_ & ~0x00000001); + bigqueryLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBigqueryLinksFieldBuilder() + : null; + } else { + bigqueryLinksBuilder_.addAllMessages(other.bigqueryLinks_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.analytics.admin.v1alpha.BigQueryLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.BigQueryLink.parser(), + extensionRegistry); + if (bigqueryLinksBuilder_ == null) { + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.add(m); + } else { + bigqueryLinksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List bigqueryLinks_ = + java.util.Collections.emptyList(); + + private void ensureBigqueryLinksIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + bigqueryLinks_ = + new java.util.ArrayList( + bigqueryLinks_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.BigQueryLink, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder, + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder> + bigqueryLinksBuilder_; + + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public java.util.List getBigqueryLinksList() { + if (bigqueryLinksBuilder_ == null) { + return java.util.Collections.unmodifiableList(bigqueryLinks_); + } else { + return bigqueryLinksBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public int getBigqueryLinksCount() { + if (bigqueryLinksBuilder_ == null) { + return bigqueryLinks_.size(); + } else { + return bigqueryLinksBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLinks(int index) { + if (bigqueryLinksBuilder_ == null) { + return bigqueryLinks_.get(index); + } else { + return bigqueryLinksBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder setBigqueryLinks( + int index, com.google.analytics.admin.v1alpha.BigQueryLink value) { + if (bigqueryLinksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.set(index, value); + onChanged(); + } else { + bigqueryLinksBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder setBigqueryLinks( + int index, com.google.analytics.admin.v1alpha.BigQueryLink.Builder builderForValue) { + if (bigqueryLinksBuilder_ == null) { + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.set(index, builderForValue.build()); + onChanged(); + } else { + bigqueryLinksBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder addBigqueryLinks(com.google.analytics.admin.v1alpha.BigQueryLink value) { + if (bigqueryLinksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.add(value); + onChanged(); + } else { + bigqueryLinksBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder addBigqueryLinks( + int index, com.google.analytics.admin.v1alpha.BigQueryLink value) { + if (bigqueryLinksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.add(index, value); + onChanged(); + } else { + bigqueryLinksBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder addBigqueryLinks( + com.google.analytics.admin.v1alpha.BigQueryLink.Builder builderForValue) { + if (bigqueryLinksBuilder_ == null) { + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.add(builderForValue.build()); + onChanged(); + } else { + bigqueryLinksBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder addBigqueryLinks( + int index, com.google.analytics.admin.v1alpha.BigQueryLink.Builder builderForValue) { + if (bigqueryLinksBuilder_ == null) { + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.add(index, builderForValue.build()); + onChanged(); + } else { + bigqueryLinksBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder addAllBigqueryLinks( + java.lang.Iterable values) { + if (bigqueryLinksBuilder_ == null) { + ensureBigqueryLinksIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bigqueryLinks_); + onChanged(); + } else { + bigqueryLinksBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder clearBigqueryLinks() { + if (bigqueryLinksBuilder_ == null) { + bigqueryLinks_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + bigqueryLinksBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public Builder removeBigqueryLinks(int index) { + if (bigqueryLinksBuilder_ == null) { + ensureBigqueryLinksIsMutable(); + bigqueryLinks_.remove(index); + onChanged(); + } else { + bigqueryLinksBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public com.google.analytics.admin.v1alpha.BigQueryLink.Builder getBigqueryLinksBuilder( + int index) { + return getBigqueryLinksFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinksOrBuilder( + int index) { + if (bigqueryLinksBuilder_ == null) { + return bigqueryLinks_.get(index); + } else { + return bigqueryLinksBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public java.util.List + getBigqueryLinksOrBuilderList() { + if (bigqueryLinksBuilder_ != null) { + return bigqueryLinksBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(bigqueryLinks_); + } + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public com.google.analytics.admin.v1alpha.BigQueryLink.Builder addBigqueryLinksBuilder() { + return getBigqueryLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance()); + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public com.google.analytics.admin.v1alpha.BigQueryLink.Builder addBigqueryLinksBuilder( + int index) { + return getBigqueryLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance()); + } + /** + * + * + *
+     * List of BigQueryLinks.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + public java.util.List + getBigqueryLinksBuilderList() { + return getBigqueryLinksFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.BigQueryLink, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder, + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder> + getBigqueryLinksFieldBuilder() { + if (bigqueryLinksBuilder_ == null) { + bigqueryLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.BigQueryLink, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder, + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder>( + bigqueryLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + bigqueryLinks_ = null; + } + return bigqueryLinksBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + 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.ListBigQueryLinksResponse) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListBigQueryLinksResponse) + private static final com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse(); + } + + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBigQueryLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java new file mode 100644 index 000000000000..464d08b709e0 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +public interface ListBigQueryLinksResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListBigQueryLinksResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + java.util.List getBigqueryLinksList(); + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLinks(int index); + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + int getBigqueryLinksCount(); + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + java.util.List + getBigqueryLinksOrBuilderList(); + /** + * + * + *
+   * List of BigQueryLinks.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + */ + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinksOrBuilder(int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java index 05b840a31248..a52416ce6548 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java @@ -156,7 +156,7 @@ public int getPageSize() { *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListProperties` must
+   * When paginating, all other parameters provided to `ListFirebaseLinks` must
    * match the call that provided the page token.
    * 
* @@ -182,7 +182,7 @@ public java.lang.String getPageToken() { *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListProperties` must
+   * When paginating, all other parameters provided to `ListFirebaseLinks` must
    * match the call that provided the page token.
    * 
* @@ -782,7 +782,7 @@ public Builder clearPageSize() { *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListProperties` must
+     * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* @@ -807,7 +807,7 @@ public java.lang.String getPageToken() { *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListProperties` must
+     * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* @@ -832,7 +832,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListProperties` must
+     * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* @@ -856,7 +856,7 @@ public Builder setPageToken(java.lang.String value) { *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListProperties` must
+     * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* @@ -876,7 +876,7 @@ public Builder clearPageToken() { *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
-     * When paginating, all other parameters provided to `ListProperties` must
+     * When paginating, all other parameters provided to `ListFirebaseLinks` must
      * match the call that provided the page token.
      * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java index a8a1e7fe4e6d..8bf18d8123e1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java @@ -76,7 +76,7 @@ public interface ListFirebaseLinksRequestOrBuilder *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListProperties` must
+   * When paginating, all other parameters provided to `ListFirebaseLinks` must
    * match the call that provided the page token.
    * 
* @@ -91,7 +91,7 @@ public interface ListFirebaseLinksRequestOrBuilder *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
-   * When paginating, all other parameters provided to `ListProperties` must
+   * When paginating, all other parameters provided to `ListFirebaseLinks` must
    * match the call that provided the page token.
    * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java new file mode 100644 index 000000000000..e5eb6a5acb64 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java @@ -0,0 +1,962 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Request message for ListSearchAds360Links RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListSearchAds360LinksRequest} + */ +public final class ListSearchAds360LinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) + ListSearchAds360LinksRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListSearchAds360LinksRequest.newBuilder() to construct. + private ListSearchAds360LinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListSearchAds360LinksRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListSearchAds360LinksRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.class, + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + /** + * + * + *
+   * The maximum number of resources to return.
+   * If unspecified, at most 50 resources will be returned.
+   * The maximum value is 200 (higher values will be coerced to the maximum).
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * A page token, received from a previous `ListSearchAds360Links`
+   * call. Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `ListSearchAds360Links` must match the call that provided the
+   * page token.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * A page token, received from a previous `ListSearchAds360Links`
+   * call. Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `ListSearchAds360Links` must match the call that provided the
+   * page token.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = 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(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += getUnknownFields().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.ListSearchAds360LinksRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest other = + (com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest 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.ListSearchAds360LinksRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest parseFrom( + 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.ListSearchAds360LinksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest 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.ListSearchAds360LinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest 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.ListSearchAds360LinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest 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.ListSearchAds360LinksRequest 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.ListSearchAds360LinksRequest 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.ListSearchAds360LinksRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for ListSearchAds360Links RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListSearchAds360LinksRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.class, + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest build() { + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest buildPartial() { + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest result = + new com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Example format: properties/1234
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * The maximum number of resources to return.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200 (higher values will be coerced to the maximum).
+     * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * The maximum number of resources to return.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200 (higher values will be coerced to the maximum).
+     * 
+ * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of resources to return.
+     * If unspecified, at most 50 resources will be returned.
+     * The maximum value is 200 (higher values will be coerced to the maximum).
+     * 
+ * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * A page token, received from a previous `ListSearchAds360Links`
+     * call. Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `ListSearchAds360Links` must match the call that provided the
+     * page token.
+     * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A page token, received from a previous `ListSearchAds360Links`
+     * call. Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `ListSearchAds360Links` must match the call that provided the
+     * page token.
+     * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A page token, received from a previous `ListSearchAds360Links`
+     * call. Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `ListSearchAds360Links` must match the call that provided the
+     * page token.
+     * 
+ * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * A page token, received from a previous `ListSearchAds360Links`
+     * call. Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `ListSearchAds360Links` must match the call that provided the
+     * page token.
+     * 
+ * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * A page token, received from a previous `ListSearchAds360Links`
+     * call. Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `ListSearchAds360Links` must match the call that provided the
+     * page token.
+     * 
+ * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + 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.ListSearchAds360LinksRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) + private static final com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest(); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSearchAds360LinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java new file mode 100644 index 000000000000..36cb1b01df60 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java @@ -0,0 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +public interface ListSearchAds360LinksRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The maximum number of resources to return.
+   * If unspecified, at most 50 resources will be returned.
+   * The maximum value is 200 (higher values will be coerced to the maximum).
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * A page token, received from a previous `ListSearchAds360Links`
+   * call. Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `ListSearchAds360Links` must match the call that provided the
+   * page token.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * A page token, received from a previous `ListSearchAds360Links`
+   * call. Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `ListSearchAds360Links` must match the call that provided the
+   * page token.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java new file mode 100644 index 000000000000..aa0726efa407 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java @@ -0,0 +1,1178 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Response message for ListSearchAds360Links RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListSearchAds360LinksResponse} + */ +public final class ListSearchAds360LinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListSearchAds360LinksResponse) + ListSearchAds360LinksResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListSearchAds360LinksResponse.newBuilder() to construct. + private ListSearchAds360LinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListSearchAds360LinksResponse() { + searchAds360Links_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListSearchAds360LinksResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.class, + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.Builder.class); + } + + public static final int SEARCH_ADS_360_LINKS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List searchAds360Links_; + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + @java.lang.Override + public java.util.List + getSearchAds360LinksList() { + return searchAds360Links_; + } + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + @java.lang.Override + public java.util.List + getSearchAds360LinksOrBuilderList() { + return searchAds360Links_; + } + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + @java.lang.Override + public int getSearchAds360LinksCount() { + return searchAds360Links_.size(); + } + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Links(int index) { + return searchAds360Links_.get(index); + } + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinksOrBuilder( + int index) { + return searchAds360Links_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < searchAds360Links_.size(); i++) { + output.writeMessage(1, searchAds360Links_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < searchAds360Links_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, searchAds360Links_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().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.ListSearchAds360LinksResponse)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse other = + (com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse) obj; + + if (!getSearchAds360LinksList().equals(other.getSearchAds360LinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSearchAds360LinksCount() > 0) { + hash = (37 * hash) + SEARCH_ADS_360_LINKS_FIELD_NUMBER; + hash = (53 * hash) + getSearchAds360LinksList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse 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.ListSearchAds360LinksResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse parseFrom( + 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.ListSearchAds360LinksResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse 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.ListSearchAds360LinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse 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.ListSearchAds360LinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse 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.ListSearchAds360LinksResponse 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.ListSearchAds360LinksResponse 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.ListSearchAds360LinksResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for ListSearchAds360Links RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ListSearchAds360LinksResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListSearchAds360LinksResponse) + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.class, + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (searchAds360LinksBuilder_ == null) { + searchAds360Links_ = java.util.Collections.emptyList(); + } else { + searchAds360Links_ = null; + searchAds360LinksBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSearchAds360LinksResponse_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse build() { + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse buildPartial() { + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result = + new com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result) { + if (searchAds360LinksBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + searchAds360Links_ = java.util.Collections.unmodifiableList(searchAds360Links_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.searchAds360Links_ = searchAds360Links_; + } else { + result.searchAds360Links_ = searchAds360LinksBuilder_.build(); + } + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.getDefaultInstance()) + return this; + if (searchAds360LinksBuilder_ == null) { + if (!other.searchAds360Links_.isEmpty()) { + if (searchAds360Links_.isEmpty()) { + searchAds360Links_ = other.searchAds360Links_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.addAll(other.searchAds360Links_); + } + onChanged(); + } + } else { + if (!other.searchAds360Links_.isEmpty()) { + if (searchAds360LinksBuilder_.isEmpty()) { + searchAds360LinksBuilder_.dispose(); + searchAds360LinksBuilder_ = null; + searchAds360Links_ = other.searchAds360Links_; + bitField0_ = (bitField0_ & ~0x00000001); + searchAds360LinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSearchAds360LinksFieldBuilder() + : null; + } else { + searchAds360LinksBuilder_.addAllMessages(other.searchAds360Links_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.analytics.admin.v1alpha.SearchAds360Link m = + input.readMessage( + com.google.analytics.admin.v1alpha.SearchAds360Link.parser(), + extensionRegistry); + if (searchAds360LinksBuilder_ == null) { + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.add(m); + } else { + searchAds360LinksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List searchAds360Links_ = + java.util.Collections.emptyList(); + + private void ensureSearchAds360LinksIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + searchAds360Links_ = + new java.util.ArrayList( + searchAds360Links_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + searchAds360LinksBuilder_; + + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public java.util.List + getSearchAds360LinksList() { + if (searchAds360LinksBuilder_ == null) { + return java.util.Collections.unmodifiableList(searchAds360Links_); + } else { + return searchAds360LinksBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public int getSearchAds360LinksCount() { + if (searchAds360LinksBuilder_ == null) { + return searchAds360Links_.size(); + } else { + return searchAds360LinksBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Links(int index) { + if (searchAds360LinksBuilder_ == null) { + return searchAds360Links_.get(index); + } else { + return searchAds360LinksBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder setSearchAds360Links( + int index, com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.set(index, value); + onChanged(); + } else { + searchAds360LinksBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder setSearchAds360Links( + int index, com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { + if (searchAds360LinksBuilder_ == null) { + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.set(index, builderForValue.build()); + onChanged(); + } else { + searchAds360LinksBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder addSearchAds360Links(com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.add(value); + onChanged(); + } else { + searchAds360LinksBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder addSearchAds360Links( + int index, com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.add(index, value); + onChanged(); + } else { + searchAds360LinksBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder addSearchAds360Links( + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { + if (searchAds360LinksBuilder_ == null) { + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.add(builderForValue.build()); + onChanged(); + } else { + searchAds360LinksBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder addSearchAds360Links( + int index, com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { + if (searchAds360LinksBuilder_ == null) { + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.add(index, builderForValue.build()); + onChanged(); + } else { + searchAds360LinksBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder addAllSearchAds360Links( + java.lang.Iterable values) { + if (searchAds360LinksBuilder_ == null) { + ensureSearchAds360LinksIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, searchAds360Links_); + onChanged(); + } else { + searchAds360LinksBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder clearSearchAds360Links() { + if (searchAds360LinksBuilder_ == null) { + searchAds360Links_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + searchAds360LinksBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public Builder removeSearchAds360Links(int index) { + if (searchAds360LinksBuilder_ == null) { + ensureSearchAds360LinksIsMutable(); + searchAds360Links_.remove(index); + onChanged(); + } else { + searchAds360LinksBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder getSearchAds360LinksBuilder( + int index) { + return getSearchAds360LinksFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinksOrBuilder(int index) { + if (searchAds360LinksBuilder_ == null) { + return searchAds360Links_.get(index); + } else { + return searchAds360LinksBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public java.util.List + getSearchAds360LinksOrBuilderList() { + if (searchAds360LinksBuilder_ != null) { + return searchAds360LinksBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(searchAds360Links_); + } + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder + addSearchAds360LinksBuilder() { + return getSearchAds360LinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()); + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder addSearchAds360LinksBuilder( + int index) { + return getSearchAds360LinksFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()); + } + /** + * + * + *
+     * List of SearchAds360Links.
+     * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + public java.util.List + getSearchAds360LinksBuilderList() { + return getSearchAds360LinksFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + getSearchAds360LinksFieldBuilder() { + if (searchAds360LinksBuilder_ == null) { + searchAds360LinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder>( + searchAds360Links_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + searchAds360Links_ = null; + } + return searchAds360LinksBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + 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.ListSearchAds360LinksResponse) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListSearchAds360LinksResponse) + private static final com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse(); + } + + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSearchAds360LinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java new file mode 100644 index 000000000000..d90f22b74a5e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java @@ -0,0 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ListSearchAds360LinksResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListSearchAds360LinksResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + java.util.List getSearchAds360LinksList(); + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Links(int index); + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + int getSearchAds360LinksCount(); + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + java.util.List + getSearchAds360LinksOrBuilderList(); + /** + * + * + *
+   * List of SearchAds360Links.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * + */ + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinksOrBuilder( + int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java index 1f59f6496d74..eccc208bec92 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java @@ -77,9 +77,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Resource name of this secret. This secret may be a child of any type of
-   * stream.
-   * Format:
+   * Output only. Resource name of this secret. This secret may be a child of
+   * any type of stream. Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* @@ -103,9 +102,8 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of this secret. This secret may be a child of any type of
-   * stream.
-   * Format:
+   * Output only. Resource name of this secret. This secret may be a child of
+   * any type of stream. Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* @@ -185,8 +183,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * Output only. The measurement protocol secret value. Pass this value to the api_secret
-   * field of the Measurement Protocol API when sending hits to this
+   * Output only. The measurement protocol secret value. Pass this value to the
+   * api_secret field of the Measurement Protocol API when sending hits to this
    * secret's parent property.
    * 
* @@ -210,8 +208,8 @@ public java.lang.String getSecretValue() { * * *
-   * Output only. The measurement protocol secret value. Pass this value to the api_secret
-   * field of the Measurement Protocol API when sending hits to this
+   * Output only. The measurement protocol secret value. Pass this value to the
+   * api_secret field of the Measurement Protocol API when sending hits to this
    * secret's parent property.
    * 
* @@ -631,9 +629,8 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name of this secret. This secret may be a child of any type of
-     * stream.
-     * Format:
+     * Output only. Resource name of this secret. This secret may be a child of
+     * any type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* @@ -656,9 +653,8 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of this secret. This secret may be a child of any type of
-     * stream.
-     * Format:
+     * Output only. Resource name of this secret. This secret may be a child of
+     * any type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* @@ -681,9 +677,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of this secret. This secret may be a child of any type of
-     * stream.
-     * Format:
+     * Output only. Resource name of this secret. This secret may be a child of
+     * any type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* @@ -705,9 +700,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of this secret. This secret may be a child of any type of
-     * stream.
-     * Format:
+     * Output only. Resource name of this secret. This secret may be a child of
+     * any type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* @@ -725,9 +719,8 @@ public Builder clearName() { * * *
-     * Output only. Resource name of this secret. This secret may be a child of any type of
-     * stream.
-     * Format:
+     * Output only. Resource name of this secret. This secret may be a child of
+     * any type of stream. Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* @@ -858,8 +851,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The measurement protocol secret value. Pass this value to the api_secret
-     * field of the Measurement Protocol API when sending hits to this
+     * Output only. The measurement protocol secret value. Pass this value to the
+     * api_secret field of the Measurement Protocol API when sending hits to this
      * secret's parent property.
      * 
* @@ -882,8 +875,8 @@ public java.lang.String getSecretValue() { * * *
-     * Output only. The measurement protocol secret value. Pass this value to the api_secret
-     * field of the Measurement Protocol API when sending hits to this
+     * Output only. The measurement protocol secret value. Pass this value to the
+     * api_secret field of the Measurement Protocol API when sending hits to this
      * secret's parent property.
      * 
* @@ -906,8 +899,8 @@ public com.google.protobuf.ByteString getSecretValueBytes() { * * *
-     * Output only. The measurement protocol secret value. Pass this value to the api_secret
-     * field of the Measurement Protocol API when sending hits to this
+     * Output only. The measurement protocol secret value. Pass this value to the
+     * api_secret field of the Measurement Protocol API when sending hits to this
      * secret's parent property.
      * 
* @@ -929,8 +922,8 @@ public Builder setSecretValue(java.lang.String value) { * * *
-     * Output only. The measurement protocol secret value. Pass this value to the api_secret
-     * field of the Measurement Protocol API when sending hits to this
+     * Output only. The measurement protocol secret value. Pass this value to the
+     * api_secret field of the Measurement Protocol API when sending hits to this
      * secret's parent property.
      * 
* @@ -948,8 +941,8 @@ public Builder clearSecretValue() { * * *
-     * Output only. The measurement protocol secret value. Pass this value to the api_secret
-     * field of the Measurement Protocol API when sending hits to this
+     * Output only. The measurement protocol secret value. Pass this value to the
+     * api_secret field of the Measurement Protocol API when sending hits to this
      * secret's parent property.
      * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java index e76ac51f4076..8a5b2d4e85c1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java @@ -27,9 +27,8 @@ public interface MeasurementProtocolSecretOrBuilder * * *
-   * Output only. Resource name of this secret. This secret may be a child of any type of
-   * stream.
-   * Format:
+   * Output only. Resource name of this secret. This secret may be a child of
+   * any type of stream. Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* @@ -42,9 +41,8 @@ public interface MeasurementProtocolSecretOrBuilder * * *
-   * Output only. Resource name of this secret. This secret may be a child of any type of
-   * stream.
-   * Format:
+   * Output only. Resource name of this secret. This secret may be a child of
+   * any type of stream. Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* @@ -83,8 +81,8 @@ public interface MeasurementProtocolSecretOrBuilder * * *
-   * Output only. The measurement protocol secret value. Pass this value to the api_secret
-   * field of the Measurement Protocol API when sending hits to this
+   * Output only. The measurement protocol secret value. Pass this value to the
+   * api_secret field of the Measurement Protocol API when sending hits to this
    * secret's parent property.
    * 
* @@ -97,8 +95,8 @@ public interface MeasurementProtocolSecretOrBuilder * * *
-   * Output only. The measurement protocol secret value. Pass this value to the api_secret
-   * field of the Measurement Protocol API when sending hits to this
+   * Output only. The measurement protocol secret value. Pass this value to the
+   * api_secret field of the Measurement Protocol API when sending hits to this
    * secret's parent property.
    * 
* diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java index 6583803fc82b..13f93054cd5f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java @@ -136,10 +136,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Immutable. The property type for this Property resource. When creating a property, if
-   * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-   * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-   * via Google Analytics Admin API.
+   * Immutable. The property type for this Property resource. When creating a
+   * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+   * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+   * types cannot yet be created via Google Analytics Admin API.
    * 
* * @@ -156,10 +156,10 @@ public int getPropertyTypeValue() { * * *
-   * Immutable. The property type for this Property resource. When creating a property, if
-   * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-   * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-   * via Google Analytics Admin API.
+   * Immutable. The property type for this Property resource. When creating a
+   * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+   * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+   * types cannot yet be created via Google Analytics Admin API.
    * 
* * @@ -430,9 +430,9 @@ public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() * * *
-   * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-   * where the data originates. If the time zone honors DST, Analytics will
-   * automatically adjust for the changes.
+   * Required. Reporting Time Zone, used as the day boundary for reports,
+   * regardless of where the data originates. If the time zone honors DST,
+   * Analytics will automatically adjust for the changes.
    * NOTE: Changing the time zone only affects data going forward, and is not
    * applied retroactively.
    * Format: https://www.iana.org/time-zones
@@ -459,9 +459,9 @@ public java.lang.String getTimeZone() {
    *
    *
    * 
-   * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-   * where the data originates. If the time zone honors DST, Analytics will
-   * automatically adjust for the changes.
+   * Required. Reporting Time Zone, used as the day boundary for reports,
+   * regardless of where the data originates. If the time zone honors DST,
+   * Analytics will automatically adjust for the changes.
    * NOTE: Changing the time zone only affects data going forward, and is not
    * applied retroactively.
    * Format: https://www.iana.org/time-zones
@@ -546,7 +546,8 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() {
    *
    *
    * 
-   * Output only. The Google Analytics service level that applies to this property.
+   * Output only. The Google Analytics service level that applies to this
+   * property.
    * 
* * @@ -563,7 +564,8 @@ public int getServiceLevelValue() { * * *
-   * Output only. The Google Analytics service level that applies to this property.
+   * Output only. The Google Analytics service level that applies to this
+   * property.
    * 
* * @@ -585,8 +587,8 @@ public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { * * *
-   * Output only. If set, the time at which this property was trashed. If not set, then this
-   * property is not currently in the trash can.
+   * Output only. If set, the time at which this property was trashed. If not
+   * set, then this property is not currently in the trash can.
    * 
* * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -602,8 +604,8 @@ public boolean hasDeleteTime() { * * *
-   * Output only. If set, the time at which this property was trashed. If not set, then this
-   * property is not currently in the trash can.
+   * Output only. If set, the time at which this property was trashed. If not
+   * set, then this property is not currently in the trash can.
    * 
* * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -619,8 +621,8 @@ public com.google.protobuf.Timestamp getDeleteTime() { * * *
-   * Output only. If set, the time at which this property was trashed. If not set, then this
-   * property is not currently in the trash can.
+   * Output only. If set, the time at which this property was trashed. If not
+   * set, then this property is not currently in the trash can.
    * 
* * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -637,9 +639,9 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * *
-   * Output only. If set, the time at which this trashed property will be permanently
-   * deleted. If not set, then this property is not currently in the trash can
-   * and is not slated to be deleted.
+   * Output only. If set, the time at which this trashed property will be
+   * permanently deleted. If not set, then this property is not currently in the
+   * trash can and is not slated to be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -655,9 +657,9 @@ public boolean hasExpireTime() { * * *
-   * Output only. If set, the time at which this trashed property will be permanently
-   * deleted. If not set, then this property is not currently in the trash can
-   * and is not slated to be deleted.
+   * Output only. If set, the time at which this trashed property will be
+   * permanently deleted. If not set, then this property is not currently in the
+   * trash can and is not slated to be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -673,9 +675,9 @@ public com.google.protobuf.Timestamp getExpireTime() { * * *
-   * Output only. If set, the time at which this trashed property will be permanently
-   * deleted. If not set, then this property is not currently in the trash can
-   * and is not slated to be deleted.
+   * Output only. If set, the time at which this trashed property will be
+   * permanently deleted. If not set, then this property is not currently in the
+   * trash can and is not slated to be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1525,10 +1527,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Immutable. The property type for this Property resource. When creating a property, if
-     * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-     * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-     * via Google Analytics Admin API.
+     * Immutable. The property type for this Property resource. When creating a
+     * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+     * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+     * types cannot yet be created via Google Analytics Admin API.
      * 
* * @@ -1545,10 +1547,10 @@ public int getPropertyTypeValue() { * * *
-     * Immutable. The property type for this Property resource. When creating a property, if
-     * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-     * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-     * via Google Analytics Admin API.
+     * Immutable. The property type for this Property resource. When creating a
+     * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+     * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+     * types cannot yet be created via Google Analytics Admin API.
      * 
* * @@ -1568,10 +1570,10 @@ public Builder setPropertyTypeValue(int value) { * * *
-     * Immutable. The property type for this Property resource. When creating a property, if
-     * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-     * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-     * via Google Analytics Admin API.
+     * Immutable. The property type for this Property resource. When creating a
+     * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+     * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+     * types cannot yet be created via Google Analytics Admin API.
      * 
* * @@ -1590,10 +1592,10 @@ public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { * * *
-     * Immutable. The property type for this Property resource. When creating a property, if
-     * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-     * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-     * via Google Analytics Admin API.
+     * Immutable. The property type for this Property resource. When creating a
+     * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+     * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+     * types cannot yet be created via Google Analytics Admin API.
      * 
* * @@ -1616,10 +1618,10 @@ public Builder setPropertyType(com.google.analytics.admin.v1alpha.PropertyType v * * *
-     * Immutable. The property type for this Property resource. When creating a property, if
-     * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-     * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-     * via Google Analytics Admin API.
+     * Immutable. The property type for this Property resource. When creating a
+     * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+     * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+     * types cannot yet be created via Google Analytics Admin API.
      * 
* * @@ -2371,9 +2373,9 @@ public Builder clearIndustryCategory() { * * *
-     * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-     * where the data originates. If the time zone honors DST, Analytics will
-     * automatically adjust for the changes.
+     * Required. Reporting Time Zone, used as the day boundary for reports,
+     * regardless of where the data originates. If the time zone honors DST,
+     * Analytics will automatically adjust for the changes.
      * NOTE: Changing the time zone only affects data going forward, and is not
      * applied retroactively.
      * Format: https://www.iana.org/time-zones
@@ -2399,9 +2401,9 @@ public java.lang.String getTimeZone() {
      *
      *
      * 
-     * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-     * where the data originates. If the time zone honors DST, Analytics will
-     * automatically adjust for the changes.
+     * Required. Reporting Time Zone, used as the day boundary for reports,
+     * regardless of where the data originates. If the time zone honors DST,
+     * Analytics will automatically adjust for the changes.
      * NOTE: Changing the time zone only affects data going forward, and is not
      * applied retroactively.
      * Format: https://www.iana.org/time-zones
@@ -2427,9 +2429,9 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
      *
      *
      * 
-     * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-     * where the data originates. If the time zone honors DST, Analytics will
-     * automatically adjust for the changes.
+     * Required. Reporting Time Zone, used as the day boundary for reports,
+     * regardless of where the data originates. If the time zone honors DST,
+     * Analytics will automatically adjust for the changes.
      * NOTE: Changing the time zone only affects data going forward, and is not
      * applied retroactively.
      * Format: https://www.iana.org/time-zones
@@ -2454,9 +2456,9 @@ public Builder setTimeZone(java.lang.String value) {
      *
      *
      * 
-     * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-     * where the data originates. If the time zone honors DST, Analytics will
-     * automatically adjust for the changes.
+     * Required. Reporting Time Zone, used as the day boundary for reports,
+     * regardless of where the data originates. If the time zone honors DST,
+     * Analytics will automatically adjust for the changes.
      * NOTE: Changing the time zone only affects data going forward, and is not
      * applied retroactively.
      * Format: https://www.iana.org/time-zones
@@ -2477,9 +2479,9 @@ public Builder clearTimeZone() {
      *
      *
      * 
-     * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-     * where the data originates. If the time zone honors DST, Analytics will
-     * automatically adjust for the changes.
+     * Required. Reporting Time Zone, used as the day boundary for reports,
+     * regardless of where the data originates. If the time zone honors DST,
+     * Analytics will automatically adjust for the changes.
      * NOTE: Changing the time zone only affects data going forward, and is not
      * applied retroactively.
      * Format: https://www.iana.org/time-zones
@@ -2623,7 +2625,8 @@ public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* * @@ -2640,7 +2643,8 @@ public int getServiceLevelValue() { * * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* * @@ -2660,7 +2664,8 @@ public Builder setServiceLevelValue(int value) { * * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* * @@ -2679,7 +2684,8 @@ public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { * * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* * @@ -2702,7 +2708,8 @@ public Builder setServiceLevel(com.google.analytics.admin.v1alpha.ServiceLevel v * * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* * @@ -2728,8 +2735,8 @@ public Builder clearServiceLevel() { * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2745,8 +2752,8 @@ public boolean hasDeleteTime() { * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2768,8 +2775,8 @@ public com.google.protobuf.Timestamp getDeleteTime() { * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2793,8 +2800,8 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2815,8 +2822,8 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2843,8 +2850,8 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2865,8 +2872,8 @@ public Builder clearDeleteTime() { * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2882,8 +2889,8 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2903,8 +2910,8 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * *
-     * Output only. If set, the time at which this property was trashed. If not set, then this
-     * property is not currently in the trash can.
+     * Output only. If set, the time at which this property was trashed. If not
+     * set, then this property is not currently in the trash can.
      * 
* * @@ -2938,9 +2945,9 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * @@ -2956,9 +2963,9 @@ public boolean hasExpireTime() { * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * @@ -2980,9 +2987,9 @@ public com.google.protobuf.Timestamp getExpireTime() { * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * @@ -3006,9 +3013,9 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * @@ -3029,9 +3036,9 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * @@ -3058,9 +3065,9 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * @@ -3081,9 +3088,9 @@ public Builder clearExpireTime() { * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * @@ -3099,9 +3106,9 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * @@ -3121,9 +3128,9 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { * * *
-     * Output only. If set, the time at which this trashed property will be permanently
-     * deleted. If not set, then this property is not currently in the trash can
-     * and is not slated to be deleted.
+     * Output only. If set, the time at which this trashed property will be
+     * permanently deleted. If not set, then this property is not currently in the
+     * trash can and is not slated to be deleted.
      * 
* * diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java index 5ffc2bd1a551..1c212ee18eb7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java @@ -56,10 +56,10 @@ public interface PropertyOrBuilder * * *
-   * Immutable. The property type for this Property resource. When creating a property, if
-   * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-   * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-   * via Google Analytics Admin API.
+   * Immutable. The property type for this Property resource. When creating a
+   * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+   * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+   * types cannot yet be created via Google Analytics Admin API.
    * 
* * @@ -73,10 +73,10 @@ public interface PropertyOrBuilder * * *
-   * Immutable. The property type for this Property resource. When creating a property, if
-   * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
-   * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
-   * via Google Analytics Admin API.
+   * Immutable. The property type for this Property resource. When creating a
+   * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+   * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+   * types cannot yet be created via Google Analytics Admin API.
    * 
* * @@ -252,9 +252,9 @@ public interface PropertyOrBuilder * * *
-   * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-   * where the data originates. If the time zone honors DST, Analytics will
-   * automatically adjust for the changes.
+   * Required. Reporting Time Zone, used as the day boundary for reports,
+   * regardless of where the data originates. If the time zone honors DST,
+   * Analytics will automatically adjust for the changes.
    * NOTE: Changing the time zone only affects data going forward, and is not
    * applied retroactively.
    * Format: https://www.iana.org/time-zones
@@ -270,9 +270,9 @@ public interface PropertyOrBuilder
    *
    *
    * 
-   * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
-   * where the data originates. If the time zone honors DST, Analytics will
-   * automatically adjust for the changes.
+   * Required. Reporting Time Zone, used as the day boundary for reports,
+   * regardless of where the data originates. If the time zone honors DST,
+   * Analytics will automatically adjust for the changes.
    * NOTE: Changing the time zone only affects data going forward, and is not
    * applied retroactively.
    * Format: https://www.iana.org/time-zones
@@ -318,7 +318,8 @@ public interface PropertyOrBuilder
    *
    *
    * 
-   * Output only. The Google Analytics service level that applies to this property.
+   * Output only. The Google Analytics service level that applies to this
+   * property.
    * 
* * @@ -332,7 +333,8 @@ public interface PropertyOrBuilder * * *
-   * Output only. The Google Analytics service level that applies to this property.
+   * Output only. The Google Analytics service level that applies to this
+   * property.
    * 
* * @@ -347,8 +349,8 @@ public interface PropertyOrBuilder * * *
-   * Output only. If set, the time at which this property was trashed. If not set, then this
-   * property is not currently in the trash can.
+   * Output only. If set, the time at which this property was trashed. If not
+   * set, then this property is not currently in the trash can.
    * 
* * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -361,8 +363,8 @@ public interface PropertyOrBuilder * * *
-   * Output only. If set, the time at which this property was trashed. If not set, then this
-   * property is not currently in the trash can.
+   * Output only. If set, the time at which this property was trashed. If not
+   * set, then this property is not currently in the trash can.
    * 
* * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -375,8 +377,8 @@ public interface PropertyOrBuilder * * *
-   * Output only. If set, the time at which this property was trashed. If not set, then this
-   * property is not currently in the trash can.
+   * Output only. If set, the time at which this property was trashed. If not
+   * set, then this property is not currently in the trash can.
    * 
* * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -388,9 +390,9 @@ public interface PropertyOrBuilder * * *
-   * Output only. If set, the time at which this trashed property will be permanently
-   * deleted. If not set, then this property is not currently in the trash can
-   * and is not slated to be deleted.
+   * Output only. If set, the time at which this trashed property will be
+   * permanently deleted. If not set, then this property is not currently in the
+   * trash can and is not slated to be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -403,9 +405,9 @@ public interface PropertyOrBuilder * * *
-   * Output only. If set, the time at which this trashed property will be permanently
-   * deleted. If not set, then this property is not currently in the trash can
-   * and is not slated to be deleted.
+   * Output only. If set, the time at which this trashed property will be
+   * permanently deleted. If not set, then this property is not currently in the
+   * trash can and is not slated to be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -418,9 +420,9 @@ public interface PropertyOrBuilder * * *
-   * Output only. If set, the time at which this trashed property will be permanently
-   * deleted. If not set, then this property is not currently in the trash can
-   * and is not slated to be deleted.
+   * Output only. If set, the time at which this trashed property will be
+   * permanently deleted. If not set, then this property is not currently in the
+   * trash can and is not slated to be deleted.
    * 
* * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java index fd853e8e7b6f..c8ea1ba73d4a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java @@ -107,6 +107,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchAds360Link_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchAds360Link_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -135,6 +139,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BigQueryLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BigQueryLink_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -146,343 +154,373 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n.google/analytics/admin/v1alpha/resourc" + "es.proto\022\036google.analytics.admin.v1alpha" - + "\032\037google/api/field_behavior.proto\032\031googl" - + "e/api/resource.proto\032\037google/protobuf/ti" - + "mestamp.proto\032\036google/protobuf/wrappers." - + "proto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013" - + "create_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\022\031\n\014display_name" - + "\030\004 \001(\tB\003\340A\002\022\023\n\013region_code\030\005 \001(\t\022\024\n\007dele" - + "ted\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.goog" - + "leapis.com/Account\022\022accounts/{account}\"\271" - + "\005\n\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\022H\n\rproper" - + "ty_type\030\016 \001(\0162,.google.analytics.admin.v" - + "1alpha.PropertyTypeB\003\340A\005\0224\n\013create_time\030" - + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" - + "\n\013update_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022\031\n\014dis" - + "play_name\030\005 \001(\tB\003\340A\002\022K\n\021industry_categor" - + "y\030\006 \001(\01620.google.analytics.admin.v1alpha" - + ".IndustryCategory\022\026\n\ttime_zone\030\007 \001(\tB\003\340A" - + "\002\022\025\n\rcurrency_code\030\010 \001(\t\022H\n\rservice_leve" - + "l\030\n \001(\0162,.google.analytics.admin.v1alpha" - + ".ServiceLevelB\003\340A\003\0224\n\013delete_time\030\013 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013expi" - + "re_time\030\014 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\022>\n\007account\030\r \001(\tB-\340A\005\372A\'\n%analyti" - + "csadmin.googleapis.com/Account:B\352A?\n&ana" - + "lyticsadmin.googleapis.com/Property\022\025pro" - + "perties/{property}\"\371\007\n\nDataStream\022S\n\017web" - + "_stream_data\030\006 \001(\01328.google.analytics.ad" - + "min.v1alpha.DataStream.WebStreamDataH\000\022b" - + "\n\027android_app_stream_data\030\007 \001(\0132?.google" - + ".analytics.admin.v1alpha.DataStream.Andr" - + "oidAppStreamDataH\000\022Z\n\023ios_app_stream_dat" - + "a\030\010 \001(\0132;.google.analytics.admin.v1alpha" - + ".DataStream.IosAppStreamDataH\000\022\021\n\004name\030\001" - + " \001(\tB\003\340A\003\022O\n\004type\030\002 \001(\01629.google.analyti" - + "cs.admin.v1alpha.DataStream.DataStreamTy" - + "peB\006\340A\005\340A\002\022\024\n\014display_name\030\003 \001(\t\0224\n\013crea" - + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\032d\n\rWebStreamData\022\033\n" - + "\016measurement_id\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_a" - + "pp_id\030\002 \001(\tB\003\340A\003\022\030\n\013default_uri\030\003 \001(\tB\003\340" - + "A\005\032O\n\024AndroidAppStreamData\022\034\n\017firebase_a" - + "pp_id\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003" - + "\340A\005\032K\n\020IosAppStreamData\022\034\n\017firebase_app_" - + "id\030\001 \001(\tB\003\340A\003\022\031\n\tbundle_id\030\002 \001(\tB\006\340A\005\340A\002" - + "\"}\n\016DataStreamType\022 \n\034DATA_STREAM_TYPE_U" - + "NSPECIFIED\020\000\022\023\n\017WEB_DATA_STREAM\020\001\022\033\n\027AND" - + "ROID_APP_DATA_STREAM\020\002\022\027\n\023IOS_APP_DATA_S" - + "TREAM\020\003:^\352A[\n(analyticsadmin.googleapis." - + "com/DataStream\022/properties/{property}/da" - + "taStreams/{data_stream}B\r\n\013stream_data\"\324" - + "\001\n\010UserLink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\remail_" - + "address\030\002 \001(\tB\003\340A\005\022\024\n\014direct_roles\030\003 \003(\t" - + ":\202\001\352A\177\n&analyticsadmin.googleapis.com/Us" - + "erLink\022(accounts/{account}/userLinks/{us" - + "er_link}\022+properties/{property}/userLink" - + "s/{user_link}\"c\n\rAuditUserLink\022\014\n\004name\030\001" - + " \001(\t\022\025\n\remail_address\030\002 \001(\t\022\024\n\014direct_ro" - + "les\030\003 \003(\t\022\027\n\017effective_roles\030\004 \003(\t\"\323\001\n\014F" - + "irebaseLink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\007projec" - + "t\030\002 \001(\tB\003\340A\005\0224\n\013create_time\030\003 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003:d\352Aa\n*analyti" - + "csadmin.googleapis.com/FirebaseLink\0223pro" - + "perties/{property}/firebaseLinks/{fireba" - + "se_link}\"\251\001\n\rGlobalSiteTag\022\021\n\004name\030\001 \001(\t" - + "B\003\340A\003\022\024\n\007snippet\030\002 \001(\tB\003\340A\005:o\352Al\n+analyt" - + "icsadmin.googleapis.com/GlobalSiteTag\022=p" - + "roperties/{property}/dataStreams/{data_s" - + "tream}/globalSiteTag\"\230\003\n\rGoogleAdsLink\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\003\022\030\n\013customer_id\030\003 \001(\tB\003" - + "\340A\005\022\037\n\022can_manage_clients\030\004 \001(\010B\003\340A\003\022?\n\033" - + "ads_personalization_enabled\030\005 \001(\0132\032.goog" - + "le.protobuf.BoolValue\0224\n\013create_time\030\007 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" - + "pdate_time\030\010 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022\"\n\025creator_email_address\030\t \001(\t" - + "B\003\340A\003:h\352Ae\n+analyticsadmin.googleapis.co" - + "m/GoogleAdsLink\0226properties/{property}/g" - + "oogleAdsLinks/{google_ads_link}\"\353\002\n\023Data" - + "SharingSettings\022\021\n\004name\030\001 \001(\tB\003\340A\003\022+\n#sh" - + "aring_with_google_support_enabled\030\002 \001(\010\022" - + "2\n*sharing_with_google_assigned_sales_en" - + "abled\030\003 \001(\010\022-\n%sharing_with_google_any_s" - + "ales_enabled\030\004 \001(\010\022,\n$sharing_with_googl" - + "e_products_enabled\030\005 \001(\010\022#\n\033sharing_with" - + "_others_enabled\030\006 \001(\010:^\352A[\n1analyticsadm" - + "in.googleapis.com/DataSharingSettings\022&a" - + "ccounts/{account}/dataSharingSettings\"\225\002" - + "\n\016AccountSummary\022\014\n\004name\030\001 \001(\t\022;\n\007accoun" - + "t\030\002 \001(\tB*\372A\'\n%analyticsadmin.googleapis." - + "com/Account\022\024\n\014display_name\030\003 \001(\t\022K\n\022pro" - + "perty_summaries\030\004 \003(\0132/.google.analytics" - + ".admin.v1alpha.PropertySummary:U\352AR\n,ana" - + "lyticsadmin.googleapis.com/AccountSummar" - + "y\022\"accountSummaries/{account_summary}\"\273\001" - + "\n\017PropertySummary\022=\n\010property\030\001 \001(\tB+\372A(" - + "\n&analyticsadmin.googleapis.com/Property" - + "\022\024\n\014display_name\030\002 \001(\t\022C\n\rproperty_type\030" - + "\003 \001(\0162,.google.analytics.admin.v1alpha.P" - + "ropertyType\022\016\n\006parent\030\004 \001(\t\"\216\002\n\031Measurem" - + "entProtocolSecret\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014" - + "display_name\030\002 \001(\tB\003\340A\002\022\031\n\014secret_value\030" - + "\003 \001(\tB\003\340A\003:\247\001\352A\243\001\n7analyticsadmin.google" - + "apis.com/MeasurementProtocolSecret\022hprop" - + "erties/{property}/dataStreams/{data_stre" - + "am}/measurementProtocolSecrets/{measurem" - + "ent_protocol_secret}\"\212\002\n\022ChangeHistoryEv" - + "ent\022\n\n\002id\030\001 \001(\t\022/\n\013change_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022=\n\nactor_type\030\003" - + " \001(\0162).google.analytics.admin.v1alpha.Ac" - + "torType\022\030\n\020user_actor_email\030\004 \001(\t\022\030\n\020cha" - + "nges_filtered\030\005 \001(\010\022D\n\007changes\030\006 \003(\01323.g" - + "oogle.analytics.admin.v1alpha.ChangeHist" - + "oryChange\"\341\013\n\023ChangeHistoryChange\022\020\n\010res" - + "ource\030\001 \001(\t\022:\n\006action\030\002 \001(\0162*.google.ana" - + "lytics.admin.v1alpha.ActionType\022i\n\026resou" - + "rce_before_change\030\003 \001(\0132I.google.analyti" - + "cs.admin.v1alpha.ChangeHistoryChange.Cha" - + "ngeHistoryResource\022h\n\025resource_after_cha" - + "nge\030\004 \001(\0132I.google.analytics.admin.v1alp" - + "ha.ChangeHistoryChange.ChangeHistoryReso" - + "urce\032\246\t\n\025ChangeHistoryResource\022:\n\007accoun" - + "t\030\001 \001(\0132\'.google.analytics.admin.v1alpha" - + ".AccountH\000\022<\n\010property\030\002 \001(\0132(.google.an" - + "alytics.admin.v1alpha.PropertyH\000\022E\n\rfire" - + "base_link\030\006 \001(\0132,.google.analytics.admin" - + ".v1alpha.FirebaseLinkH\000\022H\n\017google_ads_li" - + "nk\030\007 \001(\0132-.google.analytics.admin.v1alph" - + "a.GoogleAdsLinkH\000\022X\n\027google_signals_sett" - + "ings\030\010 \001(\01325.google.analytics.admin.v1al" - + "pha.GoogleSignalsSettingsH\000\022j\n!display_v" - + "ideo_360_advertiser_link\030\t \001(\0132=.google." - + "analytics.admin.v1alpha.DisplayVideo360A" - + "dvertiserLinkH\000\022{\n*display_video_360_adv" - + "ertiser_link_proposal\030\n \001(\0132E.google.ana" - + "lytics.admin.v1alpha.DisplayVideo360Adve" - + "rtiserLinkProposalH\000\022K\n\020conversion_event" - + "\030\013 \001(\0132/.google.analytics.admin.v1alpha." - + "ConversionEventH\000\022`\n\033measurement_protoco" - + "l_secret\030\014 \001(\01329.google.analytics.admin." - + "v1alpha.MeasurementProtocolSecretH\000\022K\n\020c" - + "ustom_dimension\030\r \001(\0132/.google.analytics" - + ".admin.v1alpha.CustomDimensionH\000\022E\n\rcust" - + "om_metric\030\016 \001(\0132,.google.analytics.admin" - + ".v1alpha.CustomMetricH\000\022X\n\027data_retentio" - + "n_settings\030\017 \001(\01325.google.analytics.admi" - + "n.v1alpha.DataRetentionSettingsH\000\022A\n\013dat" - + "a_stream\030\022 \001(\0132*.google.analytics.admin." - + "v1alpha.DataStreamH\000\022S\n\024attribution_sett" - + "ings\030\024 \001(\01323.google.analytics.admin.v1al" - + "pha.AttributionSettingsH\000B\n\n\010resource\"\337\003" - + "\n\035DisplayVideo360AdvertiserLink\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\032\n\radvertiser_id\030\002 \001(\tB\003\340A\005\022$" - + "\n\027advertiser_display_name\030\003 \001(\tB\003\340A\003\022?\n\033" - + "ads_personalization_enabled\030\004 \001(\0132\032.goog" - + "le.protobuf.BoolValue\022F\n\035campaign_data_s" - + "haring_enabled\030\005 \001(\0132\032.google.protobuf.B" - + "oolValueB\003\340A\005\022B\n\031cost_data_sharing_enabl" - + "ed\030\006 \001(\0132\032.google.protobuf.BoolValueB\003\340A" - + "\005:\233\001\352A\227\001\n;analyticsadmin.googleapis.com/" - + "DisplayVideo360AdvertiserLink\022Xpropertie" - + "s/{property}/displayVideo360AdvertiserLi" - + "nks/{display_video_360_advertiser_link}\"" - + "\212\005\n%DisplayVideo360AdvertiserLinkProposa" - + "l\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\radvertiser_id\030\002 " - + "\001(\tB\003\340A\005\022d\n\034link_proposal_status_details" - + "\030\003 \001(\01329.google.analytics.admin.v1alpha." - + "LinkProposalStatusDetailsB\003\340A\003\022$\n\027advert" - + "iser_display_name\030\004 \001(\tB\003\340A\003\022\035\n\020validati" - + "on_email\030\005 \001(\tB\003\340A\004\022D\n\033ads_personalizati" - + "on_enabled\030\006 \001(\0132\032.google.protobuf.BoolV" - + "alueB\003\340A\005\022F\n\035campaign_data_sharing_enabl" - + "ed\030\007 \001(\0132\032.google.protobuf.BoolValueB\003\340A" - + "\005\022B\n\031cost_data_sharing_enabled\030\010 \001(\0132\032.g" - + "oogle.protobuf.BoolValueB\003\340A\005:\264\001\352A\260\001\nCan" - + "alyticsadmin.googleapis.com/DisplayVideo" - + "360AdvertiserLinkProposal\022iproperties/{p" - + "roperty}/displayVideo360AdvertiserLinkPr" - + "oposals/{display_video_360_advertiser_li" - + "nk_proposal}\"\374\001\n\031LinkProposalStatusDetai" - + "ls\022l\n link_proposal_initiating_product\030\001" - + " \001(\0162=.google.analytics.admin.v1alpha.Li" - + "nkProposalInitiatingProductB\003\340A\003\022\034\n\017requ" - + "estor_email\030\002 \001(\tB\003\340A\003\022S\n\023link_proposal_" - + "state\030\003 \001(\01621.google.analytics.admin.v1a" - + "lpha.LinkProposalStateB\003\340A\003\"\217\002\n\017Conversi" - + "onEvent\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\027\n\nevent_name" - + "\030\002 \001(\tB\003\340A\005\0224\n\013create_time\030\003 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022\026\n\tdeletable\030\004" - + " \001(\010B\003\340A\003\022\023\n\006custom\030\005 \001(\010B\003\340A\003:m\352Aj\n-ana" - + "lyticsadmin.googleapis.com/ConversionEve" - + "nt\0229properties/{property}/conversionEven" - + "ts/{conversion_event}\"\240\002\n\025GoogleSignalsS" - + "ettings\022\021\n\004name\030\001 \001(\tB\003\340A\003\022A\n\005state\030\003 \001(" - + "\01622.google.analytics.admin.v1alpha.Googl" - + "eSignalsState\022J\n\007consent\030\004 \001(\01624.google." - + "analytics.admin.v1alpha.GoogleSignalsCon" - + "sentB\003\340A\003:e\352Ab\n3analyticsadmin.googleapi" - + "s.com/GoogleSignalsSettings\022+properties/" - + "{property}/googleSignalsSettings\"\262\003\n\017Cus" - + "tomDimension\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016param" - + "eter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_name\030" - + "\003 \001(\tB\003\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001\022U\n\005" - + "scope\030\005 \001(\0162>.google.analytics.admin.v1a" - + "lpha.CustomDimension.DimensionScopeB\006\340A\002" - + "\340A\005\022)\n\034disallow_ads_personalization\030\006 \001(" - + "\010B\003\340A\001\"F\n\016DimensionScope\022\037\n\033DIMENSION_SC" - + "OPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\022\010\n\004USER\020\002:m" - + "\352Aj\n-analyticsadmin.googleapis.com/Custo" - + "mDimension\0229properties/{property}/custom" - + "Dimensions/{custom_dimension}\"\305\006\n\014Custom" - + "Metric\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016parameter_n" - + "ame\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_name\030\003 \001(\tB" - + "\003\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001\022[\n\020measur" - + "ement_unit\030\005 \001(\0162<.google.analytics.admi" - + "n.v1alpha.CustomMetric.MeasurementUnitB\003" - + "\340A\002\022O\n\005scope\030\006 \001(\01628.google.analytics.ad" - + "min.v1alpha.CustomMetric.MetricScopeB\006\340A" - + "\002\340A\005\022f\n\026restricted_metric_type\030\010 \003(\0162A.g" - + "oogle.analytics.admin.v1alpha.CustomMetr" - + "ic.RestrictedMetricTypeB\003\340A\001\"\267\001\n\017Measure" - + "mentUnit\022 \n\034MEASUREMENT_UNIT_UNSPECIFIED" - + "\020\000\022\014\n\010STANDARD\020\001\022\014\n\010CURRENCY\020\002\022\010\n\004FEET\020\003" - + "\022\n\n\006METERS\020\004\022\016\n\nKILOMETERS\020\005\022\t\n\005MILES\020\006\022" - + "\020\n\014MILLISECONDS\020\007\022\013\n\007SECONDS\020\010\022\013\n\007MINUTE" - + "S\020\t\022\t\n\005HOURS\020\n\"6\n\013MetricScope\022\034\n\030METRIC_" - + "SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_\n\024Restri" - + "ctedMetricType\022&\n\"RESTRICTED_METRIC_TYPE" - + "_UNSPECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n\014REVENUE" - + "_DATA\020\002:d\352Aa\n*analyticsadmin.googleapis." - + "com/CustomMetric\0223properties/{property}/" - + "customMetrics/{custom_metric}\"\302\003\n\025DataRe" - + "tentionSettings\022\021\n\004name\030\001 \001(\tB\003\340A\003\022e\n\024ev" - + "ent_data_retention\030\002 \001(\0162G.google.analyt" - + "ics.admin.v1alpha.DataRetentionSettings." - + "RetentionDuration\022\'\n\037reset_user_data_on_" - + "new_activity\030\003 \001(\010\"\236\001\n\021RetentionDuration" - + "\022\"\n\036RETENTION_DURATION_UNSPECIFIED\020\000\022\016\n\n" - + "TWO_MONTHS\020\001\022\023\n\017FOURTEEN_MONTHS\020\003\022\025\n\021TWE" - + "NTY_SIX_MONTHS\020\004\022\027\n\023THIRTY_EIGHT_MONTHS\020" - + "\005\022\020\n\014FIFTY_MONTHS\020\006:e\352Ab\n3analyticsadmin" - + ".googleapis.com/DataRetentionSettings\022+p" - + "roperties/{property}/dataRetentionSettin" - + "gs\"\244\n\n\023AttributionSettings\022\021\n\004name\030\001 \001(\t" - + "B\003\340A\003\022\227\001\n,acquisition_conversion_event_l" - + "ookback_window\030\002 \001(\0162\\.google.analytics." - + "admin.v1alpha.AttributionSettings.Acquis" - + "itionConversionEventLookbackWindowB\003\340A\002\022" - + "\213\001\n&other_conversion_event_lookback_wind" - + "ow\030\003 \001(\0162V.google.analytics.admin.v1alph" - + "a.AttributionSettings.OtherConversionEve" - + "ntLookbackWindowB\003\340A\002\022w\n\033reporting_attri" - + "bution_model\030\004 \001(\0162M.google.analytics.ad" - + "min.v1alpha.AttributionSettings.Reportin" - + "gAttributionModelB\003\340A\002\"\333\001\n(AcquisitionCo" - + "nversionEventLookbackWindow\022<\n8ACQUISITI" - + "ON_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSP" - + "ECIFIED\020\000\0227\n3ACQUISITION_CONVERSION_EVEN" - + "T_LOOKBACK_WINDOW_7_DAYS\020\001\0228\n4ACQUISITIO" - + "N_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DA" - + "YS\020\002\"\370\001\n\"OtherConversionEventLookbackWin" - + "dow\0226\n2OTHER_CONVERSION_EVENT_LOOKBACK_W" - + "INDOW_UNSPECIFIED\020\000\0222\n.OTHER_CONVERSION_" - + "EVENT_LOOKBACK_WINDOW_30_DAYS\020\001\0222\n.OTHER" - + "_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAY" - + "S\020\002\0222\n.OTHER_CONVERSION_EVENT_LOOKBACK_W" - + "INDOW_90_DAYS\020\003\"\234\002\n\031ReportingAttribution" - + "Model\022+\n\'REPORTING_ATTRIBUTION_MODEL_UNS" - + "PECIFIED\020\000\022\035\n\031CROSS_CHANNEL_DATA_DRIVEN\020" - + "\001\022\034\n\030CROSS_CHANNEL_LAST_CLICK\020\002\022\035\n\031CROSS" - + "_CHANNEL_FIRST_CLICK\020\003\022\030\n\024CROSS_CHANNEL_" - + "LINEAR\020\004\022 \n\034CROSS_CHANNEL_POSITION_BASED" - + "\020\005\022\034\n\030CROSS_CHANNEL_TIME_DECAY\020\006\022\034\n\030ADS_" - + "PREFERRED_LAST_CLICK\020\007:a\352A^\n1analyticsad" - + "min.googleapis.com/AttributionSettings\022)" - + "properties/{property}/attributionSetting" - + "s*\252\004\n\020IndustryCategory\022!\n\035INDUSTRY_CATEG" - + "ORY_UNSPECIFIED\020\000\022\016\n\nAUTOMOTIVE\020\001\022#\n\037BUS" - + "INESS_AND_INDUSTRIAL_MARKETS\020\002\022\013\n\007FINANC" - + "E\020\003\022\016\n\nHEALTHCARE\020\004\022\016\n\nTECHNOLOGY\020\005\022\n\n\006T" - + "RAVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026ARTS_AND_ENTERTAIN" - + "MENT\020\010\022\026\n\022BEAUTY_AND_FITNESS\020\t\022\030\n\024BOOKS_" - + "AND_LITERATURE\020\n\022\022\n\016FOOD_AND_DRINK\020\013\022\t\n\005" - + "GAMES\020\014\022\027\n\023HOBBIES_AND_LEISURE\020\r\022\023\n\017HOME" - + "_AND_GARDEN\020\016\022\030\n\024INTERNET_AND_TELECOM\020\017\022" - + "\026\n\022LAW_AND_GOVERNMENT\020\020\022\010\n\004NEWS\020\021\022\026\n\022ONL" - + "INE_COMMUNITIES\020\022\022\026\n\022PEOPLE_AND_SOCIETY\020" - + "\023\022\024\n\020PETS_AND_ANIMALS\020\024\022\017\n\013REAL_ESTATE\020\025" - + "\022\r\n\tREFERENCE\020\026\022\013\n\007SCIENCE\020\027\022\n\n\006SPORTS\020\030" - + "\022\026\n\022JOBS_AND_EDUCATION\020\031\022\014\n\010SHOPPING\020\032*f" - + "\n\014ServiceLevel\022\035\n\031SERVICE_LEVEL_UNSPECIF" - + "IED\020\000\022\035\n\031GOOGLE_ANALYTICS_STANDARD\020\001\022\030\n\024" - + "GOOGLE_ANALYTICS_360\020\002*J\n\tActorType\022\032\n\026A" - + "CTOR_TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001\022\n\n\006SYS" - + "TEM\020\002\022\013\n\007SUPPORT\020\003*P\n\nActionType\022\033\n\027ACTI" - + "ON_TYPE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007UP" - + "DATED\020\002\022\013\n\007DELETED\020\003*\301\003\n\031ChangeHistoryRe" - + "sourceType\022,\n(CHANGE_HISTORY_RESOURCE_TY" - + "PE_UNSPECIFIED\020\000\022\013\n\007ACCOUNT\020\001\022\014\n\010PROPERT" - + "Y\020\002\022\021\n\rFIREBASE_LINK\020\006\022\023\n\017GOOGLE_ADS_LIN" - + "K\020\007\022\033\n\027GOOGLE_SIGNALS_SETTINGS\020\010\022\024\n\020CONV" - + "ERSION_EVENT\020\t\022\037\n\033MEASUREMENT_PROTOCOL_S" - + "ECRET\020\n\022\024\n\020CUSTOM_DIMENSION\020\013\022\021\n\rCUSTOM_" - + "METRIC\020\014\022\033\n\027DATA_RETENTION_SETTINGS\020\r\022%\n" - + "!DISPLAY_VIDEO_360_ADVERTISER_LINK\020\016\022.\n*" - + "DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOS" - + "AL\020\017\022\027\n\023SEARCH_ADS_360_LINK\020\020\022\017\n\013DATA_ST" - + "REAM\020\022\022\030\n\024ATTRIBUTION_SETTINGS\020\024*s\n\022Goog" - + "leSignalsState\022$\n GOOGLE_SIGNALS_STATE_U" - + "NSPECIFIED\020\000\022\032\n\026GOOGLE_SIGNALS_ENABLED\020\001" - + "\022\033\n\027GOOGLE_SIGNALS_DISABLED\020\002*\216\001\n\024Google" - + "SignalsConsent\022&\n\"GOOGLE_SIGNALS_CONSENT" - + "_UNSPECIFIED\020\000\022$\n GOOGLE_SIGNALS_CONSENT" - + "_CONSENTED\020\002\022(\n$GOOGLE_SIGNALS_CONSENT_N" - + "OT_CONSENTED\020\001*{\n\035LinkProposalInitiating" - + "Product\0220\n,LINK_PROPOSAL_INITIATING_PROD" - + "UCT_UNSPECIFIED\020\000\022\024\n\020GOOGLE_ANALYTICS\020\001\022" - + "\022\n\016LINKED_PRODUCT\020\002*\304\001\n\021LinkProposalStat" - + "e\022#\n\037LINK_PROPOSAL_STATE_UNSPECIFIED\020\000\022)" - + "\n%AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS\020" - + "\001\022\'\n#AWAITING_REVIEW_FROM_LINKED_PRODUCT" - + "\020\002\022\r\n\tWITHDRAWN\020\003\022\014\n\010DECLINED\020\004\022\013\n\007EXPIR" - + "ED\020\005\022\014\n\010OBSOLETE\020\006*\202\001\n\014PropertyType\022\035\n\031P" - + "ROPERTY_TYPE_UNSPECIFIED\020\000\022\032\n\026PROPERTY_T" - + "YPE_ORDINARY\020\001\022\035\n\031PROPERTY_TYPE_SUBPROPE" - + "RTY\020\002\022\030\n\024PROPERTY_TYPE_ROLLUP\020\003B{\n\"com.g" - + "oogle.analytics.admin.v1alphaB\016Resources" - + "ProtoP\001ZCgoogle.golang.org/genproto/goog" - + "leapis/analytics/admin/v1alpha;adminb\006pr" - + "oto3" + + "\0326google/analytics/admin/v1alpha/expande" + + "d_data_set.proto\032\037google/api/field_behav" + + "ior.proto\032\031google/api/resource.proto\032\037go" + + "ogle/protobuf/timestamp.proto\032\036google/pr" + + "otobuf/wrappers.proto\"\216\002\n\007Account\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" + + "e\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022\031\n\014display_name\030\004 \001(\tB\003\340A\002\022\023\n\013region_co" + + "de\030\005 \001(\t\022\024\n\007deleted\030\006 \001(\010B\003\340A\003:>\352A;\n%ana" + + "lyticsadmin.googleapis.com/Account\022\022acco" + + "unts/{account}\"\271\005\n\010Property\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\022H\n\rproperty_type\030\016 \001(\0162,.google.a" + + "nalytics.admin.v1alpha.PropertyTypeB\003\340A\005" + + "\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\022\023\n\006parent\030\002" + + " \001(\tB\003\340A\005\022\031\n\014display_name\030\005 \001(\tB\003\340A\002\022K\n\021" + + "industry_category\030\006 \001(\01620.google.analyti" + + "cs.admin.v1alpha.IndustryCategory\022\026\n\ttim" + + "e_zone\030\007 \001(\tB\003\340A\002\022\025\n\rcurrency_code\030\010 \001(\t" + + "\022H\n\rservice_level\030\n \001(\0162,.google.analyti" + + "cs.admin.v1alpha.ServiceLevelB\003\340A\003\0224\n\013de" + + "lete_time\030\013 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0224\n\013expire_time\030\014 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022>\n\007account\030\r \001(\tB" + + "-\340A\005\372A\'\n%analyticsadmin.googleapis.com/A" + + "ccount:B\352A?\n&analyticsadmin.googleapis.c" + + "om/Property\022\025properties/{property}\"\371\007\n\nD" + + "ataStream\022S\n\017web_stream_data\030\006 \001(\01328.goo" + + "gle.analytics.admin.v1alpha.DataStream.W" + + "ebStreamDataH\000\022b\n\027android_app_stream_dat" + + "a\030\007 \001(\0132?.google.analytics.admin.v1alpha" + + ".DataStream.AndroidAppStreamDataH\000\022Z\n\023io" + + "s_app_stream_data\030\010 \001(\0132;.google.analyti" + + "cs.admin.v1alpha.DataStream.IosAppStream" + + "DataH\000\022\021\n\004name\030\001 \001(\tB\003\340A\003\022O\n\004type\030\002 \001(\0162" + + "9.google.analytics.admin.v1alpha.DataStr" + + "eam.DataStreamTypeB\006\340A\005\340A\002\022\024\n\014display_na" + + "me\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\0224\n\013update_time\030\005 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\032d\n\r" + + "WebStreamData\022\033\n\016measurement_id\030\001 \001(\tB\003\340" + + "A\003\022\034\n\017firebase_app_id\030\002 \001(\tB\003\340A\003\022\030\n\013defa" + + "ult_uri\030\003 \001(\tB\003\340A\005\032O\n\024AndroidAppStreamDa" + + "ta\022\034\n\017firebase_app_id\030\001 \001(\tB\003\340A\003\022\031\n\014pack" + + "age_name\030\002 \001(\tB\003\340A\005\032K\n\020IosAppStreamData\022" + + "\034\n\017firebase_app_id\030\001 \001(\tB\003\340A\003\022\031\n\tbundle_" + + "id\030\002 \001(\tB\006\340A\005\340A\002\"}\n\016DataStreamType\022 \n\034DA" + + "TA_STREAM_TYPE_UNSPECIFIED\020\000\022\023\n\017WEB_DATA" + + "_STREAM\020\001\022\033\n\027ANDROID_APP_DATA_STREAM\020\002\022\027" + + "\n\023IOS_APP_DATA_STREAM\020\003:^\352A[\n(analyticsa" + + "dmin.googleapis.com/DataStream\022/properti" + + "es/{property}/dataStreams/{data_stream}B" + + "\r\n\013stream_data\"\324\001\n\010UserLink\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\022\032\n\remail_address\030\002 \001(\tB\003\340A\005\022\024\n\014di" + + "rect_roles\030\003 \003(\t:\202\001\352A\177\n&analyticsadmin.g" + + "oogleapis.com/UserLink\022(accounts/{accoun" + + "t}/userLinks/{user_link}\022+properties/{pr" + + "operty}/userLinks/{user_link}\"c\n\rAuditUs" + + "erLink\022\014\n\004name\030\001 \001(\t\022\025\n\remail_address\030\002 " + + "\001(\t\022\024\n\014direct_roles\030\003 \003(\t\022\027\n\017effective_r" + + "oles\030\004 \003(\t\"\323\001\n\014FirebaseLink\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\022\024\n\007project\030\002 \001(\tB\003\340A\005\0224\n\013create_t" + + "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003:d\352Aa\n*analyticsadmin.googleapis.com/F" + + "irebaseLink\0223properties/{property}/fireb" + + "aseLinks/{firebase_link}\"\251\001\n\rGlobalSiteT" + + "ag\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\007snippet\030\002 \001(\tB\003" + + "\340A\005:o\352Al\n+analyticsadmin.googleapis.com/" + + "GlobalSiteTag\022=properties/{property}/dat" + + "aStreams/{data_stream}/globalSiteTag\"\230\003\n" + + "\rGoogleAdsLink\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\030\n\013cus" + + "tomer_id\030\003 \001(\tB\003\340A\005\022\037\n\022can_manage_client" + + "s\030\004 \001(\010B\003\340A\003\022?\n\033ads_personalization_enab" + + "led\030\005 \001(\0132\032.google.protobuf.BoolValue\0224\n" + + "\013create_time\030\007 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022\"\n\025creator_ema" + + "il_address\030\t \001(\tB\003\340A\003:h\352Ae\n+analyticsadm" + + "in.googleapis.com/GoogleAdsLink\0226propert" + + "ies/{property}/googleAdsLinks/{google_ad" + + "s_link}\"\353\002\n\023DataSharingSettings\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022+\n#sharing_with_google_suppor" + + "t_enabled\030\002 \001(\010\0222\n*sharing_with_google_a" + + "ssigned_sales_enabled\030\003 \001(\010\022-\n%sharing_w" + + "ith_google_any_sales_enabled\030\004 \001(\010\022,\n$sh" + + "aring_with_google_products_enabled\030\005 \001(\010" + + "\022#\n\033sharing_with_others_enabled\030\006 \001(\010:^\352" + + "A[\n1analyticsadmin.googleapis.com/DataSh" + + "aringSettings\022&accounts/{account}/dataSh" + + "aringSettings\"\225\002\n\016AccountSummary\022\014\n\004name" + + "\030\001 \001(\t\022;\n\007account\030\002 \001(\tB*\372A\'\n%analyticsa" + + "dmin.googleapis.com/Account\022\024\n\014display_n" + + "ame\030\003 \001(\t\022K\n\022property_summaries\030\004 \003(\0132/." + + "google.analytics.admin.v1alpha.PropertyS" + + "ummary:U\352AR\n,analyticsadmin.googleapis.c" + + "om/AccountSummary\022\"accountSummaries/{acc" + + "ount_summary}\"\273\001\n\017PropertySummary\022=\n\010pro" + + "perty\030\001 \001(\tB+\372A(\n&analyticsadmin.googlea" + + "pis.com/Property\022\024\n\014display_name\030\002 \001(\t\022C" + + "\n\rproperty_type\030\003 \001(\0162,.google.analytics" + + ".admin.v1alpha.PropertyType\022\016\n\006parent\030\004 " + + "\001(\t\"\216\002\n\031MeasurementProtocolSecret\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022" + + "\031\n\014secret_value\030\003 \001(\tB\003\340A\003:\247\001\352A\243\001\n7analy" + + "ticsadmin.googleapis.com/MeasurementProt" + + "ocolSecret\022hproperties/{property}/dataSt" + + "reams/{data_stream}/measurementProtocolS" + + "ecrets/{measurement_protocol_secret}\"\212\002\n" + + "\022ChangeHistoryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013chang" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022=\n\nactor_type\030\003 \001(\0162).google.analytics." + + "admin.v1alpha.ActorType\022\030\n\020user_actor_em" + + "ail\030\004 \001(\t\022\030\n\020changes_filtered\030\005 \001(\010\022D\n\007c" + + "hanges\030\006 \003(\01323.google.analytics.admin.v1" + + "alpha.ChangeHistoryChange\"\307\r\n\023ChangeHist" + + "oryChange\022\020\n\010resource\030\001 \001(\t\022:\n\006action\030\002 " + + "\001(\0162*.google.analytics.admin.v1alpha.Act" + + "ionType\022i\n\026resource_before_change\030\003 \001(\0132" + + "I.google.analytics.admin.v1alpha.ChangeH" + + "istoryChange.ChangeHistoryResource\022h\n\025re" + + "source_after_change\030\004 \001(\0132I.google.analy" + + "tics.admin.v1alpha.ChangeHistoryChange.C" + + "hangeHistoryResource\032\214\013\n\025ChangeHistoryRe" + + "source\022:\n\007account\030\001 \001(\0132\'.google.analyti" + + "cs.admin.v1alpha.AccountH\000\022<\n\010property\030\002" + + " \001(\0132(.google.analytics.admin.v1alpha.Pr" + + "opertyH\000\022E\n\rfirebase_link\030\006 \001(\0132,.google" + + ".analytics.admin.v1alpha.FirebaseLinkH\000\022" + + "H\n\017google_ads_link\030\007 \001(\0132-.google.analyt" + + "ics.admin.v1alpha.GoogleAdsLinkH\000\022X\n\027goo" + + "gle_signals_settings\030\010 \001(\01325.google.anal" + + "ytics.admin.v1alpha.GoogleSignalsSetting" + + "sH\000\022j\n!display_video_360_advertiser_link" + + "\030\t \001(\0132=.google.analytics.admin.v1alpha." + + "DisplayVideo360AdvertiserLinkH\000\022{\n*displ" + + "ay_video_360_advertiser_link_proposal\030\n " + + "\001(\0132E.google.analytics.admin.v1alpha.Dis" + + "playVideo360AdvertiserLinkProposalH\000\022K\n\020" + + "conversion_event\030\013 \001(\0132/.google.analytic" + + "s.admin.v1alpha.ConversionEventH\000\022`\n\033mea" + + "surement_protocol_secret\030\014 \001(\01329.google." + + "analytics.admin.v1alpha.MeasurementProto" + + "colSecretH\000\022K\n\020custom_dimension\030\r \001(\0132/." + + "google.analytics.admin.v1alpha.CustomDim" + + "ensionH\000\022E\n\rcustom_metric\030\016 \001(\0132,.google" + + ".analytics.admin.v1alpha.CustomMetricH\000\022" + + "X\n\027data_retention_settings\030\017 \001(\01325.googl" + + "e.analytics.admin.v1alpha.DataRetentionS" + + "ettingsH\000\022O\n\023search_ads_360_link\030\020 \001(\01320" + + ".google.analytics.admin.v1alpha.SearchAd" + + "s360LinkH\000\022A\n\013data_stream\030\022 \001(\0132*.google" + + ".analytics.admin.v1alpha.DataStreamH\000\022S\n" + + "\024attribution_settings\030\024 \001(\01323.google.ana" + + "lytics.admin.v1alpha.AttributionSettings" + + "H\000\022L\n\021expanded_data_set\030\025 \001(\0132/.google.a" + + "nalytics.admin.v1alpha.ExpandedDataSetH\000" + + "\022E\n\rbigquery_link\030\027 \001(\0132,.google.analyti" + + "cs.admin.v1alpha.BigQueryLinkH\000B\n\n\010resou" + + "rce\"\337\003\n\035DisplayVideo360AdvertiserLink\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\003\022\032\n\radvertiser_id\030\002 \001(\tB" + + "\003\340A\005\022$\n\027advertiser_display_name\030\003 \001(\tB\003\340" + + "A\003\022?\n\033ads_personalization_enabled\030\004 \001(\0132" + + "\032.google.protobuf.BoolValue\022F\n\035campaign_" + + "data_sharing_enabled\030\005 \001(\0132\032.google.prot" + + "obuf.BoolValueB\003\340A\005\022B\n\031cost_data_sharing" + + "_enabled\030\006 \001(\0132\032.google.protobuf.BoolVal" + + "ueB\003\340A\005:\233\001\352A\227\001\n;analyticsadmin.googleapi" + + "s.com/DisplayVideo360AdvertiserLink\022Xpro" + + "perties/{property}/displayVideo360Advert" + + "iserLinks/{display_video_360_advertiser_" + + "link}\"\212\005\n%DisplayVideo360AdvertiserLinkP" + + "roposal\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\radvertiser" + + "_id\030\002 \001(\tB\003\340A\005\022d\n\034link_proposal_status_d" + + "etails\030\003 \001(\01329.google.analytics.admin.v1" + + "alpha.LinkProposalStatusDetailsB\003\340A\003\022$\n\027" + + "advertiser_display_name\030\004 \001(\tB\003\340A\003\022\035\n\020va" + + "lidation_email\030\005 \001(\tB\003\340A\004\022D\n\033ads_persona" + + "lization_enabled\030\006 \001(\0132\032.google.protobuf" + + ".BoolValueB\003\340A\005\022F\n\035campaign_data_sharing" + + "_enabled\030\007 \001(\0132\032.google.protobuf.BoolVal" + + "ueB\003\340A\005\022B\n\031cost_data_sharing_enabled\030\010 \001" + + "(\0132\032.google.protobuf.BoolValueB\003\340A\005:\264\001\352A" + + "\260\001\nCanalyticsadmin.googleapis.com/Displa" + + "yVideo360AdvertiserLinkProposal\022ipropert" + + "ies/{property}/displayVideo360Advertiser" + + "LinkProposals/{display_video_360_adverti" + + "ser_link_proposal}\"\350\003\n\020SearchAds360Link\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\003\022\032\n\radvertiser_id\030\002 \001(" + + "\tB\003\340A\005\022F\n\035campaign_data_sharing_enabled\030" + + "\003 \001(\0132\032.google.protobuf.BoolValueB\003\340A\005\022B" + + "\n\031cost_data_sharing_enabled\030\004 \001(\0132\032.goog" + + "le.protobuf.BoolValueB\003\340A\005\022$\n\027advertiser" + + "_display_name\030\005 \001(\tB\003\340A\003\022?\n\033ads_personal" + + "ization_enabled\030\006 \001(\0132\032.google.protobuf." + + "BoolValue\022>\n\032site_stats_sharing_enabled\030" + + "\007 \001(\0132\032.google.protobuf.BoolValue:r\352Ao\n." + + "analyticsadmin.googleapis.com/SearchAds3" + + "60Link\022=properties/{property}/searchAds3" + + "60Links/{search_ads_360_link}\"\374\001\n\031LinkPr" + + "oposalStatusDetails\022l\n link_proposal_ini" + + "tiating_product\030\001 \001(\0162=.google.analytics" + + ".admin.v1alpha.LinkProposalInitiatingPro" + + "ductB\003\340A\003\022\034\n\017requestor_email\030\002 \001(\tB\003\340A\003\022" + + "S\n\023link_proposal_state\030\003 \001(\01621.google.an" + + "alytics.admin.v1alpha.LinkProposalStateB" + + "\003\340A\003\"\217\002\n\017ConversionEvent\022\021\n\004name\030\001 \001(\tB\003" + + "\340A\003\022\027\n\nevent_name\030\002 \001(\tB\003\340A\005\0224\n\013create_t" + + "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022\026\n\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n\006custom\030\005 \001" + + "(\010B\003\340A\003:m\352Aj\n-analyticsadmin.googleapis." + + "com/ConversionEvent\0229properties/{propert" + + "y}/conversionEvents/{conversion_event}\"\240" + + "\002\n\025GoogleSignalsSettings\022\021\n\004name\030\001 \001(\tB\003" + + "\340A\003\022A\n\005state\030\003 \001(\01622.google.analytics.ad" + + "min.v1alpha.GoogleSignalsState\022J\n\007consen" + + "t\030\004 \001(\01624.google.analytics.admin.v1alpha" + + ".GoogleSignalsConsentB\003\340A\003:e\352Ab\n3analyti" + + "csadmin.googleapis.com/GoogleSignalsSett" + + "ings\022+properties/{property}/googleSignal" + + "sSettings\"\262\003\n\017CustomDimension\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\003\022\036\n\016parameter_name\030\002 \001(\tB\006\340A\002\340A\005" + + "\022\031\n\014display_name\030\003 \001(\tB\003\340A\002\022\030\n\013descripti" + + "on\030\004 \001(\tB\003\340A\001\022U\n\005scope\030\005 \001(\0162>.google.an" + + "alytics.admin.v1alpha.CustomDimension.Di" + + "mensionScopeB\006\340A\002\340A\005\022)\n\034disallow_ads_per" + + "sonalization\030\006 \001(\010B\003\340A\001\"F\n\016DimensionScop" + + "e\022\037\n\033DIMENSION_SCOPE_UNSPECIFIED\020\000\022\t\n\005EV" + + "ENT\020\001\022\010\n\004USER\020\002:m\352Aj\n-analyticsadmin.goo" + + "gleapis.com/CustomDimension\0229properties/" + + "{property}/customDimensions/{custom_dime" + + "nsion}\"\305\006\n\014CustomMetric\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003\022\036\n\016parameter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014di" + + "splay_name\030\003 \001(\tB\003\340A\002\022\030\n\013description\030\004 \001" + + "(\tB\003\340A\001\022[\n\020measurement_unit\030\005 \001(\0162<.goog" + + "le.analytics.admin.v1alpha.CustomMetric." + + "MeasurementUnitB\003\340A\002\022O\n\005scope\030\006 \001(\01628.go" + + "ogle.analytics.admin.v1alpha.CustomMetri" + + "c.MetricScopeB\006\340A\002\340A\005\022f\n\026restricted_metr" + + "ic_type\030\010 \003(\0162A.google.analytics.admin.v" + + "1alpha.CustomMetric.RestrictedMetricType" + + "B\003\340A\001\"\267\001\n\017MeasurementUnit\022 \n\034MEASUREMENT" + + "_UNIT_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\014\n\010CUR" + + "RENCY\020\002\022\010\n\004FEET\020\003\022\n\n\006METERS\020\004\022\016\n\nKILOMET" + + "ERS\020\005\022\t\n\005MILES\020\006\022\020\n\014MILLISECONDS\020\007\022\013\n\007SE" + + "CONDS\020\010\022\013\n\007MINUTES\020\t\022\t\n\005HOURS\020\n\"6\n\013Metri" + + "cScope\022\034\n\030METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005" + + "EVENT\020\001\"_\n\024RestrictedMetricType\022&\n\"RESTR" + + "ICTED_METRIC_TYPE_UNSPECIFIED\020\000\022\r\n\tCOST_" + + "DATA\020\001\022\020\n\014REVENUE_DATA\020\002:d\352Aa\n*analytics" + + "admin.googleapis.com/CustomMetric\0223prope" + + "rties/{property}/customMetrics/{custom_m" + + "etric}\"\302\003\n\025DataRetentionSettings\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\003\022e\n\024event_data_retention\030\002 \001(" + + "\0162G.google.analytics.admin.v1alpha.DataR" + + "etentionSettings.RetentionDuration\022\'\n\037re" + + "set_user_data_on_new_activity\030\003 \001(\010\"\236\001\n\021" + + "RetentionDuration\022\"\n\036RETENTION_DURATION_" + + "UNSPECIFIED\020\000\022\016\n\nTWO_MONTHS\020\001\022\023\n\017FOURTEE" + + "N_MONTHS\020\003\022\025\n\021TWENTY_SIX_MONTHS\020\004\022\027\n\023THI" + + "RTY_EIGHT_MONTHS\020\005\022\020\n\014FIFTY_MONTHS\020\006:e\352A" + + "b\n3analyticsadmin.googleapis.com/DataRet" + + "entionSettings\022+properties/{property}/da" + + "taRetentionSettings\"\244\n\n\023AttributionSetti" + + "ngs\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\227\001\n,acquisition_c" + + "onversion_event_lookback_window\030\002 \001(\0162\\." + + "google.analytics.admin.v1alpha.Attributi" + + "onSettings.AcquisitionConversionEventLoo" + + "kbackWindowB\003\340A\002\022\213\001\n&other_conversion_ev" + + "ent_lookback_window\030\003 \001(\0162V.google.analy" + + "tics.admin.v1alpha.AttributionSettings.O" + + "therConversionEventLookbackWindowB\003\340A\002\022w" + + "\n\033reporting_attribution_model\030\004 \001(\0162M.go" + + "ogle.analytics.admin.v1alpha.Attribution" + + "Settings.ReportingAttributionModelB\003\340A\002\"" + + "\333\001\n(AcquisitionConversionEventLookbackWi" + + "ndow\022<\n8ACQUISITION_CONVERSION_EVENT_LOO" + + "KBACK_WINDOW_UNSPECIFIED\020\000\0227\n3ACQUISITIO" + + "N_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAY" + + "S\020\001\0228\n4ACQUISITION_CONVERSION_EVENT_LOOK" + + "BACK_WINDOW_30_DAYS\020\002\"\370\001\n\"OtherConversio" + + "nEventLookbackWindow\0226\n2OTHER_CONVERSION" + + "_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\020\000\0222\n." + + "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_3" + + "0_DAYS\020\001\0222\n.OTHER_CONVERSION_EVENT_LOOKB" + + "ACK_WINDOW_60_DAYS\020\002\0222\n.OTHER_CONVERSION" + + "_EVENT_LOOKBACK_WINDOW_90_DAYS\020\003\"\234\002\n\031Rep" + + "ortingAttributionModel\022+\n\'REPORTING_ATTR" + + "IBUTION_MODEL_UNSPECIFIED\020\000\022\035\n\031CROSS_CHA" + + "NNEL_DATA_DRIVEN\020\001\022\034\n\030CROSS_CHANNEL_LAST" + + "_CLICK\020\002\022\035\n\031CROSS_CHANNEL_FIRST_CLICK\020\003\022" + + "\030\n\024CROSS_CHANNEL_LINEAR\020\004\022 \n\034CROSS_CHANN" + + "EL_POSITION_BASED\020\005\022\034\n\030CROSS_CHANNEL_TIM" + + "E_DECAY\020\006\022\034\n\030ADS_PREFERRED_LAST_CLICK\020\007:" + + "a\352A^\n1analyticsadmin.googleapis.com/Attr" + + "ibutionSettings\022)properties/{property}/a" + + "ttributionSettings\"\344\002\n\014BigQueryLink\022\021\n\004n" + + "ame\030\001 \001(\tB\003\340A\003\022\024\n\007project\030\002 \001(\tB\003\340A\005\0224\n\013" + + "create_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022\034\n\024daily_export_enabled\030\004 \001(\010" + + "\022 \n\030streaming_export_enabled\030\005 \001(\010\022\036\n\026in" + + "clude_advertising_id\030\006 \001(\010\022\026\n\016export_str" + + "eams\030\007 \003(\t\022\027\n\017excluded_events\030\010 \003(\t:d\352Aa" + + "\n*analyticsadmin.googleapis.com/BigQuery" + + "Link\0223properties/{property}/bigQueryLink" + + "s/{bigquery_link}*\252\004\n\020IndustryCategory\022!" + + "\n\035INDUSTRY_CATEGORY_UNSPECIFIED\020\000\022\016\n\nAUT" + + "OMOTIVE\020\001\022#\n\037BUSINESS_AND_INDUSTRIAL_MAR" + + "KETS\020\002\022\013\n\007FINANCE\020\003\022\016\n\nHEALTHCARE\020\004\022\016\n\nT" + + "ECHNOLOGY\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026AR" + + "TS_AND_ENTERTAINMENT\020\010\022\026\n\022BEAUTY_AND_FIT" + + "NESS\020\t\022\030\n\024BOOKS_AND_LITERATURE\020\n\022\022\n\016FOOD" + + "_AND_DRINK\020\013\022\t\n\005GAMES\020\014\022\027\n\023HOBBIES_AND_L" + + "EISURE\020\r\022\023\n\017HOME_AND_GARDEN\020\016\022\030\n\024INTERNE" + + "T_AND_TELECOM\020\017\022\026\n\022LAW_AND_GOVERNMENT\020\020\022" + + "\010\n\004NEWS\020\021\022\026\n\022ONLINE_COMMUNITIES\020\022\022\026\n\022PEO" + + "PLE_AND_SOCIETY\020\023\022\024\n\020PETS_AND_ANIMALS\020\024\022" + + "\017\n\013REAL_ESTATE\020\025\022\r\n\tREFERENCE\020\026\022\013\n\007SCIEN" + + "CE\020\027\022\n\n\006SPORTS\020\030\022\026\n\022JOBS_AND_EDUCATION\020\031" + + "\022\014\n\010SHOPPING\020\032*f\n\014ServiceLevel\022\035\n\031SERVIC" + + "E_LEVEL_UNSPECIFIED\020\000\022\035\n\031GOOGLE_ANALYTIC" + + "S_STANDARD\020\001\022\030\n\024GOOGLE_ANALYTICS_360\020\002*J" + + "\n\tActorType\022\032\n\026ACTOR_TYPE_UNSPECIFIED\020\000\022" + + "\010\n\004USER\020\001\022\n\n\006SYSTEM\020\002\022\013\n\007SUPPORT\020\003*P\n\nAc" + + "tionType\022\033\n\027ACTION_TYPE_UNSPECIFIED\020\000\022\013\n" + + "\007CREATED\020\001\022\013\n\007UPDATED\020\002\022\013\n\007DELETED\020\003*\353\003\n" + + "\031ChangeHistoryResourceType\022,\n(CHANGE_HIS" + + "TORY_RESOURCE_TYPE_UNSPECIFIED\020\000\022\013\n\007ACCO" + + "UNT\020\001\022\014\n\010PROPERTY\020\002\022\021\n\rFIREBASE_LINK\020\006\022\023" + + "\n\017GOOGLE_ADS_LINK\020\007\022\033\n\027GOOGLE_SIGNALS_SE" + + "TTINGS\020\010\022\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEASUR" + + "EMENT_PROTOCOL_SECRET\020\n\022\024\n\020CUSTOM_DIMENS" + + "ION\020\013\022\021\n\rCUSTOM_METRIC\020\014\022\033\n\027DATA_RETENTI" + + "ON_SETTINGS\020\r\022%\n!DISPLAY_VIDEO_360_ADVER" + + "TISER_LINK\020\016\022.\n*DISPLAY_VIDEO_360_ADVERT" + + "ISER_LINK_PROPOSAL\020\017\022\027\n\023SEARCH_ADS_360_L" + + "INK\020\020\022\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTION_SE" + + "TTINGS\020\024\022\025\n\021EXPANDED_DATA_SET\020\025\022\021\n\rCHANN" + + "EL_GROUP\020\026*s\n\022GoogleSignalsState\022$\n GOOG" + + "LE_SIGNALS_STATE_UNSPECIFIED\020\000\022\032\n\026GOOGLE" + + "_SIGNALS_ENABLED\020\001\022\033\n\027GOOGLE_SIGNALS_DIS" + + "ABLED\020\002*\216\001\n\024GoogleSignalsConsent\022&\n\"GOOG" + + "LE_SIGNALS_CONSENT_UNSPECIFIED\020\000\022$\n GOOG" + + "LE_SIGNALS_CONSENT_CONSENTED\020\002\022(\n$GOOGLE" + + "_SIGNALS_CONSENT_NOT_CONSENTED\020\001*{\n\035Link" + + "ProposalInitiatingProduct\0220\n,LINK_PROPOS" + + "AL_INITIATING_PRODUCT_UNSPECIFIED\020\000\022\024\n\020G" + + "OOGLE_ANALYTICS\020\001\022\022\n\016LINKED_PRODUCT\020\002*\304\001" + + "\n\021LinkProposalState\022#\n\037LINK_PROPOSAL_STA" + + "TE_UNSPECIFIED\020\000\022)\n%AWAITING_REVIEW_FROM" + + "_GOOGLE_ANALYTICS\020\001\022\'\n#AWAITING_REVIEW_F" + + "ROM_LINKED_PRODUCT\020\002\022\r\n\tWITHDRAWN\020\003\022\014\n\010D" + + "ECLINED\020\004\022\013\n\007EXPIRED\020\005\022\014\n\010OBSOLETE\020\006*\202\001\n" + + "\014PropertyType\022\035\n\031PROPERTY_TYPE_UNSPECIFI" + + "ED\020\000\022\032\n\026PROPERTY_TYPE_ORDINARY\020\001\022\035\n\031PROP" + + "ERTY_TYPE_SUBPROPERTY\020\002\022\030\n\024PROPERTY_TYPE" + + "_ROLLUP\020\003B{\n\"com.google.analytics.admin." + + "v1alphaB\016ResourcesProtoP\001ZCgoogle.golang" + + ".org/genproto/googleapis/analytics/admin" + + "/v1alpha;adminb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1alpha.ExpandedDataSetProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -681,8 +719,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CustomDimension", "CustomMetric", "DataRetentionSettings", + "SearchAds360Link", "DataStream", "AttributionSettings", + "ExpandedDataSet", + "BigqueryLink", "Resource", }); internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = @@ -713,8 +754,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CampaignDataSharingEnabled", "CostDataSharingEnabled", }); - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor = + internal_static_google_analytics_admin_v1alpha_SearchAds360Link_descriptor = getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1alpha_SearchAds360Link_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SearchAds360Link_descriptor, + new java.lang.String[] { + "Name", + "AdvertiserId", + "CampaignDataSharingEnabled", + "CostDataSharingEnabled", + "AdvertiserDisplayName", + "AdsPersonalizationEnabled", + "SiteStatsSharingEnabled", + }); + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor = + getDescriptor().getMessageTypes().get(17); internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor, @@ -722,7 +777,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LinkProposalInitiatingProduct", "RequestorEmail", "LinkProposalState", }); internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(18); internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor, @@ -730,7 +785,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "EventName", "CreateTime", "Deletable", "Custom", }); internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(19); internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor, @@ -738,7 +793,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "State", "Consent", }); internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(20); internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor, @@ -751,7 +806,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DisallowAdsPersonalization", }); internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(21); internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor, @@ -765,7 +820,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RestrictedMetricType", }); internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(22); internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor, @@ -773,7 +828,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "EventDataRetention", "ResetUserDataOnNewActivity", }); internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(23); internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor, @@ -783,6 +838,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OtherConversionEventLookbackWindow", "ReportingAttributionModel", }); + internal_static_google_analytics_admin_v1alpha_BigQueryLink_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_admin_v1alpha_BigQueryLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BigQueryLink_descriptor, + new java.lang.String[] { + "Name", + "Project", + "CreateTime", + "DailyExportEnabled", + "StreamingExportEnabled", + "IncludeAdvertisingId", + "ExportStreams", + "ExcludedEvents", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); @@ -790,6 +860,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.ExpandedDataSetProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java new file mode 100644 index 000000000000..c43d4ce3c6d1 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java @@ -0,0 +1,2261 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/resources.proto + +package com.google.analytics.admin.v1alpha; + +/** + * + * + *
+ * A link between a GA4 property and a Search Ads 360 entity.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.SearchAds360Link} + */ +public final class SearchAds360Link extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchAds360Link) + SearchAds360LinkOrBuilder { + private static final long serialVersionUID = 0L; + // Use SearchAds360Link.newBuilder() to construct. + private SearchAds360Link(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SearchAds360Link() { + name_ = ""; + advertiserId_ = ""; + advertiserDisplayName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SearchAds360Link(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SearchAds360Link_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SearchAds360Link_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.SearchAds360Link.class, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. The resource name for this SearchAds360Link resource.
+   * Format: properties/{propertyId}/searchAds360Links/{linkId}
+   * Note: linkId is not the Search Ads 360 advertiser ID
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The resource name for this SearchAds360Link resource.
+   * Format: properties/{propertyId}/searchAds360Links/{linkId}
+   * Note: linkId is not the Search Ads 360 advertiser ID
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ADVERTISER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object advertiserId_ = ""; + /** + * + * + *
+   * Immutable. This field represents the Advertiser ID of the Search Ads 360
+   * Advertiser. that has been linked.
+   * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The advertiserId. + */ + @java.lang.Override + public java.lang.String getAdvertiserId() { + java.lang.Object ref = advertiserId_; + 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(); + advertiserId_ = s; + return s; + } + } + /** + * + * + *
+   * Immutable. This field represents the Advertiser ID of the Search Ads 360
+   * Advertiser. that has been linked.
+   * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for advertiserId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAdvertiserIdBytes() { + java.lang.Object ref = advertiserId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + advertiserId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER = 3; + private com.google.protobuf.BoolValue campaignDataSharingEnabled_; + /** + * + * + *
+   * Immutable. Enables the import of campaign data from Search Ads 360 into the
+   * GA4 property. After link creation, this can only be updated from the Search
+   * Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the campaignDataSharingEnabled field is set. + */ + @java.lang.Override + public boolean hasCampaignDataSharingEnabled() { + return campaignDataSharingEnabled_ != null; + } + /** + * + * + *
+   * Immutable. Enables the import of campaign data from Search Ads 360 into the
+   * GA4 property. After link creation, this can only be updated from the Search
+   * Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The campaignDataSharingEnabled. + */ + @java.lang.Override + public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; + } + /** + * + * + *
+   * Immutable. Enables the import of campaign data from Search Ads 360 into the
+   * GA4 property. After link creation, this can only be updated from the Search
+   * Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + @java.lang.Override + public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; + } + + public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER = 4; + private com.google.protobuf.BoolValue costDataSharingEnabled_; + /** + * + * + *
+   * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+   * property. This can only be enabled if campaign_data_sharing_enabled is
+   * enabled. After link creation, this can only be updated from
+   * the Search Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the costDataSharingEnabled field is set. + */ + @java.lang.Override + public boolean hasCostDataSharingEnabled() { + return costDataSharingEnabled_ != null; + } + /** + * + * + *
+   * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+   * property. This can only be enabled if campaign_data_sharing_enabled is
+   * enabled. After link creation, this can only be updated from
+   * the Search Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The costDataSharingEnabled. + */ + @java.lang.Override + public com.google.protobuf.BoolValue getCostDataSharingEnabled() { + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; + } + /** + * + * + *
+   * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+   * property. This can only be enabled if campaign_data_sharing_enabled is
+   * enabled. After link creation, this can only be updated from
+   * the Search Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + @java.lang.Override + public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; + } + + public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object advertiserDisplayName_ = ""; + /** + * + * + *
+   * Output only. The display name of the Search Ads 360 Advertiser.
+   * Allows users to easily identify the linked resource.
+   * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The advertiserDisplayName. + */ + @java.lang.Override + public java.lang.String getAdvertiserDisplayName() { + java.lang.Object ref = advertiserDisplayName_; + 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(); + advertiserDisplayName_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The display name of the Search Ads 360 Advertiser.
+   * Allows users to easily identify the linked resource.
+   * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for advertiserDisplayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { + java.lang.Object ref = advertiserDisplayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + advertiserDisplayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 6; + private com.google.protobuf.BoolValue adsPersonalizationEnabled_; + /** + * + * + *
+   * Enables personalized advertising features with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + * + * @return Whether the adsPersonalizationEnabled field is set. + */ + @java.lang.Override + public boolean hasAdsPersonalizationEnabled() { + return adsPersonalizationEnabled_ != null; + } + /** + * + * + *
+   * Enables personalized advertising features with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + * + * @return The adsPersonalizationEnabled. + */ + @java.lang.Override + public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; + } + /** + * + * + *
+   * Enables personalized advertising features with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + @java.lang.Override + public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() { + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; + } + + public static final int SITE_STATS_SHARING_ENABLED_FIELD_NUMBER = 7; + private com.google.protobuf.BoolValue siteStatsSharingEnabled_; + /** + * + * + *
+   * Enables export of site stats with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + * + * @return Whether the siteStatsSharingEnabled field is set. + */ + @java.lang.Override + public boolean hasSiteStatsSharingEnabled() { + return siteStatsSharingEnabled_ != null; + } + /** + * + * + *
+   * Enables export of site stats with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + * + * @return The siteStatsSharingEnabled. + */ + @java.lang.Override + public com.google.protobuf.BoolValue getSiteStatsSharingEnabled() { + return siteStatsSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : siteStatsSharingEnabled_; + } + /** + * + * + *
+   * Enables export of site stats with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + @java.lang.Override + public com.google.protobuf.BoolValueOrBuilder getSiteStatsSharingEnabledOrBuilder() { + return siteStatsSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : siteStatsSharingEnabled_; + } + + 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(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(advertiserId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, advertiserId_); + } + if (campaignDataSharingEnabled_ != null) { + output.writeMessage(3, getCampaignDataSharingEnabled()); + } + if (costDataSharingEnabled_ != null) { + output.writeMessage(4, getCostDataSharingEnabled()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(advertiserDisplayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, advertiserDisplayName_); + } + if (adsPersonalizationEnabled_ != null) { + output.writeMessage(6, getAdsPersonalizationEnabled()); + } + if (siteStatsSharingEnabled_ != null) { + output.writeMessage(7, getSiteStatsSharingEnabled()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(advertiserId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, advertiserId_); + } + if (campaignDataSharingEnabled_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getCampaignDataSharingEnabled()); + } + if (costDataSharingEnabled_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCostDataSharingEnabled()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(advertiserDisplayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, advertiserDisplayName_); + } + if (adsPersonalizationEnabled_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, getAdsPersonalizationEnabled()); + } + if (siteStatsSharingEnabled_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getSiteStatsSharingEnabled()); + } + size += getUnknownFields().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.SearchAds360Link)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.SearchAds360Link other = + (com.google.analytics.admin.v1alpha.SearchAds360Link) obj; + + if (!getName().equals(other.getName())) return false; + if (!getAdvertiserId().equals(other.getAdvertiserId())) return false; + if (hasCampaignDataSharingEnabled() != other.hasCampaignDataSharingEnabled()) return false; + if (hasCampaignDataSharingEnabled()) { + if (!getCampaignDataSharingEnabled().equals(other.getCampaignDataSharingEnabled())) + return false; + } + if (hasCostDataSharingEnabled() != other.hasCostDataSharingEnabled()) return false; + if (hasCostDataSharingEnabled()) { + if (!getCostDataSharingEnabled().equals(other.getCostDataSharingEnabled())) return false; + } + if (!getAdvertiserDisplayName().equals(other.getAdvertiserDisplayName())) return false; + if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; + if (hasAdsPersonalizationEnabled()) { + if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) + return false; + } + if (hasSiteStatsSharingEnabled() != other.hasSiteStatsSharingEnabled()) return false; + if (hasSiteStatsSharingEnabled()) { + if (!getSiteStatsSharingEnabled().equals(other.getSiteStatsSharingEnabled())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + ADVERTISER_ID_FIELD_NUMBER; + hash = (53 * hash) + getAdvertiserId().hashCode(); + if (hasCampaignDataSharingEnabled()) { + hash = (37 * hash) + CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER; + hash = (53 * hash) + getCampaignDataSharingEnabled().hashCode(); + } + if (hasCostDataSharingEnabled()) { + hash = (37 * hash) + COST_DATA_SHARING_ENABLED_FIELD_NUMBER; + hash = (53 * hash) + getCostDataSharingEnabled().hashCode(); + } + hash = (37 * hash) + ADVERTISER_DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getAdvertiserDisplayName().hashCode(); + if (hasAdsPersonalizationEnabled()) { + hash = (37 * hash) + ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER; + hash = (53 * hash) + getAdsPersonalizationEnabled().hashCode(); + } + if (hasSiteStatsSharingEnabled()) { + hash = (37 * hash) + SITE_STATS_SHARING_ENABLED_FIELD_NUMBER; + hash = (53 * hash) + getSiteStatsSharingEnabled().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.SearchAds360Link parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SearchAds360Link 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.SearchAds360Link parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SearchAds360Link parseFrom( + 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.SearchAds360Link parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SearchAds360Link 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.SearchAds360Link parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.SearchAds360Link 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.SearchAds360Link parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.SearchAds360Link 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.SearchAds360Link 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.SearchAds360Link 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.SearchAds360Link 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 link between a GA4 property and a Search Ads 360 entity.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.SearchAds360Link} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SearchAds360Link) + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SearchAds360Link_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SearchAds360Link_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.SearchAds360Link.class, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.SearchAds360Link.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + advertiserId_ = ""; + campaignDataSharingEnabled_ = null; + if (campaignDataSharingEnabledBuilder_ != null) { + campaignDataSharingEnabledBuilder_.dispose(); + campaignDataSharingEnabledBuilder_ = null; + } + costDataSharingEnabled_ = null; + if (costDataSharingEnabledBuilder_ != null) { + costDataSharingEnabledBuilder_.dispose(); + costDataSharingEnabledBuilder_ = null; + } + advertiserDisplayName_ = ""; + adsPersonalizationEnabled_ = null; + if (adsPersonalizationEnabledBuilder_ != null) { + adsPersonalizationEnabledBuilder_.dispose(); + adsPersonalizationEnabledBuilder_ = null; + } + siteStatsSharingEnabled_ = null; + if (siteStatsSharingEnabledBuilder_ != null) { + siteStatsSharingEnabledBuilder_.dispose(); + siteStatsSharingEnabledBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SearchAds360Link_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360Link getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360Link build() { + com.google.analytics.admin.v1alpha.SearchAds360Link result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360Link buildPartial() { + com.google.analytics.admin.v1alpha.SearchAds360Link result = + new com.google.analytics.admin.v1alpha.SearchAds360Link(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.SearchAds360Link result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.advertiserId_ = advertiserId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.campaignDataSharingEnabled_ = + campaignDataSharingEnabledBuilder_ == null + ? campaignDataSharingEnabled_ + : campaignDataSharingEnabledBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.costDataSharingEnabled_ = + costDataSharingEnabledBuilder_ == null + ? costDataSharingEnabled_ + : costDataSharingEnabledBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.advertiserDisplayName_ = advertiserDisplayName_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.adsPersonalizationEnabled_ = + adsPersonalizationEnabledBuilder_ == null + ? adsPersonalizationEnabled_ + : adsPersonalizationEnabledBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.siteStatsSharingEnabled_ = + siteStatsSharingEnabledBuilder_ == null + ? siteStatsSharingEnabled_ + : siteStatsSharingEnabledBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.SearchAds360Link) { + return mergeFrom((com.google.analytics.admin.v1alpha.SearchAds360Link) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.SearchAds360Link other) { + if (other == com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getAdvertiserId().isEmpty()) { + advertiserId_ = other.advertiserId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasCampaignDataSharingEnabled()) { + mergeCampaignDataSharingEnabled(other.getCampaignDataSharingEnabled()); + } + if (other.hasCostDataSharingEnabled()) { + mergeCostDataSharingEnabled(other.getCostDataSharingEnabled()); + } + if (!other.getAdvertiserDisplayName().isEmpty()) { + advertiserDisplayName_ = other.advertiserDisplayName_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasAdsPersonalizationEnabled()) { + mergeAdsPersonalizationEnabled(other.getAdsPersonalizationEnabled()); + } + if (other.hasSiteStatsSharingEnabled()) { + mergeSiteStatsSharingEnabled(other.getSiteStatsSharingEnabled()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + advertiserId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getCampaignDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getCostDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + advertiserDisplayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage( + getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage( + getSiteStatsSharingEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. The resource name for this SearchAds360Link resource.
+     * Format: properties/{propertyId}/searchAds360Links/{linkId}
+     * Note: linkId is not the Search Ads 360 advertiser ID
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The resource name for this SearchAds360Link resource.
+     * Format: properties/{propertyId}/searchAds360Links/{linkId}
+     * Note: linkId is not the Search Ads 360 advertiser ID
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The resource name for this SearchAds360Link resource.
+     * Format: properties/{propertyId}/searchAds360Links/{linkId}
+     * Note: linkId is not the Search Ads 360 advertiser ID
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name for this SearchAds360Link resource.
+     * Format: properties/{propertyId}/searchAds360Links/{linkId}
+     * Note: linkId is not the Search Ads 360 advertiser ID
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name for this SearchAds360Link resource.
+     * Format: properties/{propertyId}/searchAds360Links/{linkId}
+     * Note: linkId is not the Search Ads 360 advertiser ID
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object advertiserId_ = ""; + /** + * + * + *
+     * Immutable. This field represents the Advertiser ID of the Search Ads 360
+     * Advertiser. that has been linked.
+     * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The advertiserId. + */ + public java.lang.String getAdvertiserId() { + java.lang.Object ref = advertiserId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + advertiserId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Immutable. This field represents the Advertiser ID of the Search Ads 360
+     * Advertiser. that has been linked.
+     * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for advertiserId. + */ + public com.google.protobuf.ByteString getAdvertiserIdBytes() { + java.lang.Object ref = advertiserId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + advertiserId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Immutable. This field represents the Advertiser ID of the Search Ads 360
+     * Advertiser. that has been linked.
+     * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The advertiserId to set. + * @return This builder for chaining. + */ + public Builder setAdvertiserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + advertiserId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. This field represents the Advertiser ID of the Search Ads 360
+     * Advertiser. that has been linked.
+     * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearAdvertiserId() { + advertiserId_ = getDefaultInstance().getAdvertiserId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. This field represents the Advertiser ID of the Search Ads 360
+     * Advertiser. that has been linked.
+     * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for advertiserId to set. + * @return This builder for chaining. + */ + public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.BoolValue campaignDataSharingEnabled_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + campaignDataSharingEnabledBuilder_; + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the campaignDataSharingEnabled field is set. + */ + public boolean hasCampaignDataSharingEnabled() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The campaignDataSharingEnabled. + */ + public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { + if (campaignDataSharingEnabledBuilder_ == null) { + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; + } else { + return campaignDataSharingEnabledBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { + if (campaignDataSharingEnabledBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + campaignDataSharingEnabled_ = value; + } else { + campaignDataSharingEnabledBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder setCampaignDataSharingEnabled( + com.google.protobuf.BoolValue.Builder builderForValue) { + if (campaignDataSharingEnabledBuilder_ == null) { + campaignDataSharingEnabled_ = builderForValue.build(); + } else { + campaignDataSharingEnabledBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { + if (campaignDataSharingEnabledBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && campaignDataSharingEnabled_ != null + && campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + getCampaignDataSharingEnabledBuilder().mergeFrom(value); + } else { + campaignDataSharingEnabled_ = value; + } + } else { + campaignDataSharingEnabledBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder clearCampaignDataSharingEnabled() { + bitField0_ = (bitField0_ & ~0x00000004); + campaignDataSharingEnabled_ = null; + if (campaignDataSharingEnabledBuilder_ != null) { + campaignDataSharingEnabledBuilder_.dispose(); + campaignDataSharingEnabledBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCampaignDataSharingEnabledFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { + if (campaignDataSharingEnabledBuilder_ != null) { + return campaignDataSharingEnabledBuilder_.getMessageOrBuilder(); + } else { + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; + } + } + /** + * + * + *
+     * Immutable. Enables the import of campaign data from Search Ads 360 into the
+     * GA4 property. After link creation, this can only be updated from the Search
+     * Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + getCampaignDataSharingEnabledFieldBuilder() { + if (campaignDataSharingEnabledBuilder_ == null) { + campaignDataSharingEnabledBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder>( + getCampaignDataSharingEnabled(), getParentForChildren(), isClean()); + campaignDataSharingEnabled_ = null; + } + return campaignDataSharingEnabledBuilder_; + } + + private com.google.protobuf.BoolValue costDataSharingEnabled_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + costDataSharingEnabledBuilder_; + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the costDataSharingEnabled field is set. + */ + public boolean hasCostDataSharingEnabled() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The costDataSharingEnabled. + */ + public com.google.protobuf.BoolValue getCostDataSharingEnabled() { + if (costDataSharingEnabledBuilder_ == null) { + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; + } else { + return costDataSharingEnabledBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { + if (costDataSharingEnabledBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + costDataSharingEnabled_ = value; + } else { + costDataSharingEnabledBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder setCostDataSharingEnabled( + com.google.protobuf.BoolValue.Builder builderForValue) { + if (costDataSharingEnabledBuilder_ == null) { + costDataSharingEnabled_ = builderForValue.build(); + } else { + costDataSharingEnabledBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) { + if (costDataSharingEnabledBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && costDataSharingEnabled_ != null + && costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + getCostDataSharingEnabledBuilder().mergeFrom(value); + } else { + costDataSharingEnabled_ = value; + } + } else { + costDataSharingEnabledBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder clearCostDataSharingEnabled() { + bitField0_ = (bitField0_ & ~0x00000008); + costDataSharingEnabled_ = null; + if (costDataSharingEnabledBuilder_ != null) { + costDataSharingEnabledBuilder_.dispose(); + costDataSharingEnabledBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getCostDataSharingEnabledFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { + if (costDataSharingEnabledBuilder_ != null) { + return costDataSharingEnabledBuilder_.getMessageOrBuilder(); + } else { + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; + } + } + /** + * + * + *
+     * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+     * property. This can only be enabled if campaign_data_sharing_enabled is
+     * enabled. After link creation, this can only be updated from
+     * the Search Ads 360 product.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + getCostDataSharingEnabledFieldBuilder() { + if (costDataSharingEnabledBuilder_ == null) { + costDataSharingEnabledBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder>( + getCostDataSharingEnabled(), getParentForChildren(), isClean()); + costDataSharingEnabled_ = null; + } + return costDataSharingEnabledBuilder_; + } + + private java.lang.Object advertiserDisplayName_ = ""; + /** + * + * + *
+     * Output only. The display name of the Search Ads 360 Advertiser.
+     * Allows users to easily identify the linked resource.
+     * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The advertiserDisplayName. + */ + public java.lang.String getAdvertiserDisplayName() { + java.lang.Object ref = advertiserDisplayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + advertiserDisplayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The display name of the Search Ads 360 Advertiser.
+     * Allows users to easily identify the linked resource.
+     * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for advertiserDisplayName. + */ + public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { + java.lang.Object ref = advertiserDisplayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + advertiserDisplayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The display name of the Search Ads 360 Advertiser.
+     * Allows users to easily identify the linked resource.
+     * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The advertiserDisplayName to set. + * @return This builder for chaining. + */ + public Builder setAdvertiserDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + advertiserDisplayName_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The display name of the Search Ads 360 Advertiser.
+     * Allows users to easily identify the linked resource.
+     * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearAdvertiserDisplayName() { + advertiserDisplayName_ = getDefaultInstance().getAdvertiserDisplayName(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The display name of the Search Ads 360 Advertiser.
+     * Allows users to easily identify the linked resource.
+     * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for advertiserDisplayName to set. + * @return This builder for chaining. + */ + public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + advertiserDisplayName_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.BoolValue adsPersonalizationEnabled_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + adsPersonalizationEnabledBuilder_; + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + * + * @return Whether the adsPersonalizationEnabled field is set. + */ + public boolean hasAdsPersonalizationEnabled() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + * + * @return The adsPersonalizationEnabled. + */ + public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { + if (adsPersonalizationEnabledBuilder_ == null) { + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; + } else { + return adsPersonalizationEnabledBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) { + if (adsPersonalizationEnabledBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + adsPersonalizationEnabled_ = value; + } else { + adsPersonalizationEnabledBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + public Builder setAdsPersonalizationEnabled( + com.google.protobuf.BoolValue.Builder builderForValue) { + if (adsPersonalizationEnabledBuilder_ == null) { + adsPersonalizationEnabled_ = builderForValue.build(); + } else { + adsPersonalizationEnabledBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) { + if (adsPersonalizationEnabledBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && adsPersonalizationEnabled_ != null + && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + getAdsPersonalizationEnabledBuilder().mergeFrom(value); + } else { + adsPersonalizationEnabled_ = value; + } + } else { + adsPersonalizationEnabledBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + public Builder clearAdsPersonalizationEnabled() { + bitField0_ = (bitField0_ & ~0x00000020); + adsPersonalizationEnabled_ = null; + if (adsPersonalizationEnabledBuilder_ != null) { + adsPersonalizationEnabledBuilder_.dispose(); + adsPersonalizationEnabledBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getAdsPersonalizationEnabledFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() { + if (adsPersonalizationEnabledBuilder_ != null) { + return adsPersonalizationEnabledBuilder_.getMessageOrBuilder(); + } else { + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; + } + } + /** + * + * + *
+     * Enables personalized advertising features with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + getAdsPersonalizationEnabledFieldBuilder() { + if (adsPersonalizationEnabledBuilder_ == null) { + adsPersonalizationEnabledBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder>( + getAdsPersonalizationEnabled(), getParentForChildren(), isClean()); + adsPersonalizationEnabled_ = null; + } + return adsPersonalizationEnabledBuilder_; + } + + private com.google.protobuf.BoolValue siteStatsSharingEnabled_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + siteStatsSharingEnabledBuilder_; + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + * + * @return Whether the siteStatsSharingEnabled field is set. + */ + public boolean hasSiteStatsSharingEnabled() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + * + * @return The siteStatsSharingEnabled. + */ + public com.google.protobuf.BoolValue getSiteStatsSharingEnabled() { + if (siteStatsSharingEnabledBuilder_ == null) { + return siteStatsSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : siteStatsSharingEnabled_; + } else { + return siteStatsSharingEnabledBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + public Builder setSiteStatsSharingEnabled(com.google.protobuf.BoolValue value) { + if (siteStatsSharingEnabledBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + siteStatsSharingEnabled_ = value; + } else { + siteStatsSharingEnabledBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + public Builder setSiteStatsSharingEnabled( + com.google.protobuf.BoolValue.Builder builderForValue) { + if (siteStatsSharingEnabledBuilder_ == null) { + siteStatsSharingEnabled_ = builderForValue.build(); + } else { + siteStatsSharingEnabledBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + public Builder mergeSiteStatsSharingEnabled(com.google.protobuf.BoolValue value) { + if (siteStatsSharingEnabledBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && siteStatsSharingEnabled_ != null + && siteStatsSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + getSiteStatsSharingEnabledBuilder().mergeFrom(value); + } else { + siteStatsSharingEnabled_ = value; + } + } else { + siteStatsSharingEnabledBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + public Builder clearSiteStatsSharingEnabled() { + bitField0_ = (bitField0_ & ~0x00000040); + siteStatsSharingEnabled_ = null; + if (siteStatsSharingEnabledBuilder_ != null) { + siteStatsSharingEnabledBuilder_.dispose(); + siteStatsSharingEnabledBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + public com.google.protobuf.BoolValue.Builder getSiteStatsSharingEnabledBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getSiteStatsSharingEnabledFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + public com.google.protobuf.BoolValueOrBuilder getSiteStatsSharingEnabledOrBuilder() { + if (siteStatsSharingEnabledBuilder_ != null) { + return siteStatsSharingEnabledBuilder_.getMessageOrBuilder(); + } else { + return siteStatsSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : siteStatsSharingEnabled_; + } + } + /** + * + * + *
+     * Enables export of site stats with this integration.
+     * If this field is not set on create, it will be defaulted to true.
+     * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + getSiteStatsSharingEnabledFieldBuilder() { + if (siteStatsSharingEnabledBuilder_ == null) { + siteStatsSharingEnabledBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder>( + getSiteStatsSharingEnabled(), getParentForChildren(), isClean()); + siteStatsSharingEnabled_ = null; + } + return siteStatsSharingEnabledBuilder_; + } + + @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.SearchAds360Link) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SearchAds360Link) + private static final com.google.analytics.admin.v1alpha.SearchAds360Link DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SearchAds360Link(); + } + + public static com.google.analytics.admin.v1alpha.SearchAds360Link getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAds360Link parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360Link getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java new file mode 100644 index 000000000000..d06098bf6fee --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java @@ -0,0 +1,198 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class SearchAds360LinkName implements ResourceName { + private static final PathTemplate PROPERTY_SEARCH_ADS360_LINK = + PathTemplate.createWithoutUrlEncoding( + "properties/{property}/searchAds360Links/{search_ads_360_link}"); + private volatile Map fieldValuesMap; + private final String property; + private final String searchAds360Link; + + @Deprecated + protected SearchAds360LinkName() { + property = null; + searchAds360Link = null; + } + + private SearchAds360LinkName(Builder builder) { + property = Preconditions.checkNotNull(builder.getProperty()); + searchAds360Link = Preconditions.checkNotNull(builder.getSearchAds360Link()); + } + + public String getProperty() { + return property; + } + + public String getSearchAds360Link() { + return searchAds360Link; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static SearchAds360LinkName of(String property, String searchAds360Link) { + return newBuilder().setProperty(property).setSearchAds360Link(searchAds360Link).build(); + } + + public static String format(String property, String searchAds360Link) { + return newBuilder() + .setProperty(property) + .setSearchAds360Link(searchAds360Link) + .build() + .toString(); + } + + public static SearchAds360LinkName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROPERTY_SEARCH_ADS360_LINK.validatedMatch( + formattedString, "SearchAds360LinkName.parse: formattedString not in valid format"); + return of(matchMap.get("property"), matchMap.get("search_ads_360_link")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (SearchAds360LinkName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROPERTY_SEARCH_ADS360_LINK.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (property != null) { + fieldMapBuilder.put("property", property); + } + if (searchAds360Link != null) { + fieldMapBuilder.put("search_ads_360_link", searchAds360Link); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROPERTY_SEARCH_ADS360_LINK.instantiate( + "property", property, "search_ads_360_link", searchAds360Link); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + SearchAds360LinkName that = ((SearchAds360LinkName) o); + return Objects.equals(this.property, that.property) + && Objects.equals(this.searchAds360Link, that.searchAds360Link); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(property); + h *= 1000003; + h ^= Objects.hashCode(searchAds360Link); + return h; + } + + /** Builder for properties/{property}/searchAds360Links/{search_ads_360_link}. */ + public static class Builder { + private String property; + private String searchAds360Link; + + protected Builder() {} + + public String getProperty() { + return property; + } + + public String getSearchAds360Link() { + return searchAds360Link; + } + + public Builder setProperty(String property) { + this.property = property; + return this; + } + + public Builder setSearchAds360Link(String searchAds360Link) { + this.searchAds360Link = searchAds360Link; + return this; + } + + private Builder(SearchAds360LinkName searchAds360LinkName) { + this.property = searchAds360LinkName.property; + this.searchAds360Link = searchAds360LinkName.searchAds360Link; + } + + public SearchAds360LinkName build() { + return new SearchAds360LinkName(this); + } + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java new file mode 100644 index 000000000000..30bcc2e21a44 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java @@ -0,0 +1,287 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/resources.proto + +package com.google.analytics.admin.v1alpha; + +public interface SearchAds360LinkOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SearchAds360Link) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The resource name for this SearchAds360Link resource.
+   * Format: properties/{propertyId}/searchAds360Links/{linkId}
+   * Note: linkId is not the Search Ads 360 advertiser ID
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. The resource name for this SearchAds360Link resource.
+   * Format: properties/{propertyId}/searchAds360Links/{linkId}
+   * Note: linkId is not the Search Ads 360 advertiser ID
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Immutable. This field represents the Advertiser ID of the Search Ads 360
+   * Advertiser. that has been linked.
+   * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The advertiserId. + */ + java.lang.String getAdvertiserId(); + /** + * + * + *
+   * Immutable. This field represents the Advertiser ID of the Search Ads 360
+   * Advertiser. that has been linked.
+   * 
+ * + * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for advertiserId. + */ + com.google.protobuf.ByteString getAdvertiserIdBytes(); + + /** + * + * + *
+   * Immutable. Enables the import of campaign data from Search Ads 360 into the
+   * GA4 property. After link creation, this can only be updated from the Search
+   * Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the campaignDataSharingEnabled field is set. + */ + boolean hasCampaignDataSharingEnabled(); + /** + * + * + *
+   * Immutable. Enables the import of campaign data from Search Ads 360 into the
+   * GA4 property. After link creation, this can only be updated from the Search
+   * Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The campaignDataSharingEnabled. + */ + com.google.protobuf.BoolValue getCampaignDataSharingEnabled(); + /** + * + * + *
+   * Immutable. Enables the import of campaign data from Search Ads 360 into the
+   * GA4 property. After link creation, this can only be updated from the Search
+   * Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder(); + + /** + * + * + *
+   * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+   * property. This can only be enabled if campaign_data_sharing_enabled is
+   * enabled. After link creation, this can only be updated from
+   * the Search Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the costDataSharingEnabled field is set. + */ + boolean hasCostDataSharingEnabled(); + /** + * + * + *
+   * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+   * property. This can only be enabled if campaign_data_sharing_enabled is
+   * enabled. After link creation, this can only be updated from
+   * the Search Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The costDataSharingEnabled. + */ + com.google.protobuf.BoolValue getCostDataSharingEnabled(); + /** + * + * + *
+   * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+   * property. This can only be enabled if campaign_data_sharing_enabled is
+   * enabled. After link creation, this can only be updated from
+   * the Search Ads 360 product.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + */ + com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder(); + + /** + * + * + *
+   * Output only. The display name of the Search Ads 360 Advertiser.
+   * Allows users to easily identify the linked resource.
+   * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The advertiserDisplayName. + */ + java.lang.String getAdvertiserDisplayName(); + /** + * + * + *
+   * Output only. The display name of the Search Ads 360 Advertiser.
+   * Allows users to easily identify the linked resource.
+   * 
+ * + * string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for advertiserDisplayName. + */ + com.google.protobuf.ByteString getAdvertiserDisplayNameBytes(); + + /** + * + * + *
+   * Enables personalized advertising features with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + * + * @return Whether the adsPersonalizationEnabled field is set. + */ + boolean hasAdsPersonalizationEnabled(); + /** + * + * + *
+   * Enables personalized advertising features with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + * + * @return The adsPersonalizationEnabled. + */ + com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); + /** + * + * + *
+   * Enables personalized advertising features with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue ads_personalization_enabled = 6; + */ + com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder(); + + /** + * + * + *
+   * Enables export of site stats with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + * + * @return Whether the siteStatsSharingEnabled field is set. + */ + boolean hasSiteStatsSharingEnabled(); + /** + * + * + *
+   * Enables export of site stats with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + * + * @return The siteStatsSharingEnabled. + */ + com.google.protobuf.BoolValue getSiteStatsSharingEnabled(); + /** + * + * + *
+   * Enables export of site stats with this integration.
+   * If this field is not set on create, it will be defaulted to true.
+   * 
+ * + * .google.protobuf.BoolValue site_stats_sharing_enabled = 7; + */ + com.google.protobuf.BoolValueOrBuilder getSiteStatsSharingEnabledOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java index fc27f2b3eadd..bdb2939acca8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java @@ -81,7 +81,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The account resource for which to return change history resources.
+   * Required. The account resource for which to return change history
+   * resources.
    * 
* * @@ -106,7 +107,8 @@ public java.lang.String getAccount() { * * *
-   * Required. The account resource for which to return change history resources.
+   * Required. The account resource for which to return change history
+   * resources.
    * 
* * @@ -208,8 +210,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType convert( * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -229,8 +231,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType convert( * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -247,8 +249,8 @@ public int getResourceTypeCount() { * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -266,8 +268,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -284,8 +286,8 @@ public java.util.List getResourceTypeValueList() { * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -324,8 +326,8 @@ public com.google.analytics.admin.v1alpha.ActionType convert(java.lang.Integer f * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -344,8 +346,8 @@ public java.util.List getActionLi * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -362,8 +364,8 @@ public int getActionCount() { * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -381,8 +383,8 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -399,8 +401,8 @@ public java.util.List getActionValueList() { * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -425,7 +427,8 @@ public int getActionValue(int index) { * * *
-   * Optional. If set, only return changes if they are made by a user in this list.
+   * Optional. If set, only return changes if they are made by a user in this
+   * list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -439,7 +442,8 @@ public com.google.protobuf.ProtocolStringList getActorEmailList() { * * *
-   * Optional. If set, only return changes if they are made by a user in this list.
+   * Optional. If set, only return changes if they are made by a user in this
+   * list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -453,7 +457,8 @@ public int getActorEmailCount() { * * *
-   * Optional. If set, only return changes if they are made by a user in this list.
+   * Optional. If set, only return changes if they are made by a user in this
+   * list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -468,7 +473,8 @@ public java.lang.String getActorEmail(int index) { * * *
-   * Optional. If set, only return changes if they are made by a user in this list.
+   * Optional. If set, only return changes if they are made by a user in this
+   * list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -621,10 +627,11 @@ public int getPageSize() { * * *
-   * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-   * Provide this to retrieve the subsequent page. When paginating, all other
-   * parameters provided to `SearchChangeHistoryEvents` must match the call that
-   * provided the page token.
+   * Optional. A page token, received from a previous
+   * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+   * page. When paginating, all other parameters provided to
+   * `SearchChangeHistoryEvents` must match the call that provided the page
+   * token.
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -647,10 +654,11 @@ public java.lang.String getPageToken() { * * *
-   * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-   * Provide this to retrieve the subsequent page. When paginating, all other
-   * parameters provided to `SearchChangeHistoryEvents` must match the call that
-   * provided the page token.
+   * Optional. A page token, received from a previous
+   * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+   * page. When paginating, all other parameters provided to
+   * `SearchChangeHistoryEvents` must match the call that provided the page
+   * token.
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -1331,7 +1339,8 @@ public Builder mergeFrom( * * *
-     * Required. The account resource for which to return change history resources.
+     * Required. The account resource for which to return change history
+     * resources.
      * 
* * @@ -1355,7 +1364,8 @@ public java.lang.String getAccount() { * * *
-     * Required. The account resource for which to return change history resources.
+     * Required. The account resource for which to return change history
+     * resources.
      * 
* * @@ -1379,7 +1389,8 @@ public com.google.protobuf.ByteString getAccountBytes() { * * *
-     * Required. The account resource for which to return change history resources.
+     * Required. The account resource for which to return change history
+     * resources.
      * 
* * @@ -1402,7 +1413,8 @@ public Builder setAccount(java.lang.String value) { * * *
-     * Required. The account resource for which to return change history resources.
+     * Required. The account resource for which to return change history
+     * resources.
      * 
* * @@ -1421,7 +1433,8 @@ public Builder clearAccount() { * * *
-     * Required. The account resource for which to return change history resources.
+     * Required. The account resource for which to return change history
+     * resources.
      * 
* * @@ -1575,8 +1588,8 @@ private void ensureResourceTypeIsMutable() { * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1595,8 +1608,8 @@ private void ensureResourceTypeIsMutable() { * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1612,8 +1625,8 @@ public int getResourceTypeCount() { * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1630,8 +1643,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1656,8 +1669,8 @@ public Builder setResourceType( * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1681,8 +1694,8 @@ public Builder addResourceType( * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1706,8 +1719,8 @@ public Builder addAllResourceType( * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1726,8 +1739,8 @@ public Builder clearResourceType() { * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1743,8 +1756,8 @@ public java.util.List getResourceTypeValueList() { * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1761,8 +1774,8 @@ public int getResourceTypeValue(int index) { * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1783,8 +1796,8 @@ public Builder setResourceTypeValue(int index, int value) { * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1804,8 +1817,8 @@ public Builder addResourceTypeValue(int value) { * * *
-     * Optional. If set, only return changes if they are for a resource that matches at
-     * least one of these types.
+     * Optional. If set, only return changes if they are for a resource that
+     * matches at least one of these types.
      * 
* * @@ -1836,8 +1849,8 @@ private void ensureActionIsMutable() { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -1855,8 +1868,8 @@ public java.util.List getActionLi * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -1872,8 +1885,8 @@ public int getActionCount() { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -1890,8 +1903,8 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -1915,8 +1928,8 @@ public Builder setAction(int index, com.google.analytics.admin.v1alpha.ActionTyp * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -1939,8 +1952,8 @@ public Builder addAction(com.google.analytics.admin.v1alpha.ActionType value) { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -1963,8 +1976,8 @@ public Builder addAllAction( * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -1983,8 +1996,8 @@ public Builder clearAction() { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -2000,8 +2013,8 @@ public java.util.List getActionValueList() { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -2018,8 +2031,8 @@ public int getActionValue(int index) { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -2040,8 +2053,8 @@ public Builder setActionValue(int index, int value) { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -2061,8 +2074,8 @@ public Builder addActionValue(int value) { * * *
-     * Optional. If set, only return changes that match one or more of these types of
-     * actions.
+     * Optional. If set, only return changes that match one or more of these types
+     * of actions.
      * 
* * @@ -2094,7 +2107,8 @@ private void ensureActorEmailIsMutable() { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2108,7 +2122,8 @@ public com.google.protobuf.ProtocolStringList getActorEmailList() { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2122,7 +2137,8 @@ public int getActorEmailCount() { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2137,7 +2153,8 @@ public java.lang.String getActorEmail(int index) { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2152,7 +2169,8 @@ public com.google.protobuf.ByteString getActorEmailBytes(int index) { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2174,7 +2192,8 @@ public Builder setActorEmail(int index, java.lang.String value) { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2195,7 +2214,8 @@ public Builder addActorEmail(java.lang.String value) { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2213,7 +2233,8 @@ public Builder addAllActorEmail(java.lang.Iterable values) { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2230,7 +2251,8 @@ public Builder clearActorEmail() { * * *
-     * Optional. If set, only return changes if they are made by a user in this list.
+     * Optional. If set, only return changes if they are made by a user in this
+     * list.
      * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2718,10 +2740,11 @@ public Builder clearPageSize() { * * *
-     * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-     * Provide this to retrieve the subsequent page. When paginating, all other
-     * parameters provided to `SearchChangeHistoryEvents` must match the call that
-     * provided the page token.
+     * Optional. A page token, received from a previous
+     * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+     * page. When paginating, all other parameters provided to
+     * `SearchChangeHistoryEvents` must match the call that provided the page
+     * token.
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -2743,10 +2766,11 @@ public java.lang.String getPageToken() { * * *
-     * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-     * Provide this to retrieve the subsequent page. When paginating, all other
-     * parameters provided to `SearchChangeHistoryEvents` must match the call that
-     * provided the page token.
+     * Optional. A page token, received from a previous
+     * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+     * page. When paginating, all other parameters provided to
+     * `SearchChangeHistoryEvents` must match the call that provided the page
+     * token.
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -2768,10 +2792,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-     * Provide this to retrieve the subsequent page. When paginating, all other
-     * parameters provided to `SearchChangeHistoryEvents` must match the call that
-     * provided the page token.
+     * Optional. A page token, received from a previous
+     * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+     * page. When paginating, all other parameters provided to
+     * `SearchChangeHistoryEvents` must match the call that provided the page
+     * token.
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -2792,10 +2817,11 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-     * Provide this to retrieve the subsequent page. When paginating, all other
-     * parameters provided to `SearchChangeHistoryEvents` must match the call that
-     * provided the page token.
+     * Optional. A page token, received from a previous
+     * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+     * page. When paginating, all other parameters provided to
+     * `SearchChangeHistoryEvents` must match the call that provided the page
+     * token.
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -2812,10 +2838,11 @@ public Builder clearPageToken() { * * *
-     * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-     * Provide this to retrieve the subsequent page. When paginating, all other
-     * parameters provided to `SearchChangeHistoryEvents` must match the call that
-     * provided the page token.
+     * Optional. A page token, received from a previous
+     * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+     * page. When paginating, all other parameters provided to
+     * `SearchChangeHistoryEvents` must match the call that provided the page
+     * token.
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java index 61d883dc85f9..d8fe5b1e8cb4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Required. The account resource for which to return change history resources.
+   * Required. The account resource for which to return change history
+   * resources.
    * 
* * @@ -41,7 +42,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Required. The account resource for which to return change history resources.
+   * Required. The account resource for which to return change history
+   * resources.
    * 
* * @@ -87,8 +89,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -103,8 +105,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -118,8 +120,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -134,8 +136,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -149,8 +151,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are for a resource that matches at
-   * least one of these types.
+   * Optional. If set, only return changes if they are for a resource that
+   * matches at least one of these types.
    * 
* * @@ -166,8 +168,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -181,8 +183,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -196,8 +198,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -212,8 +214,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -227,8 +229,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes that match one or more of these types of
-   * actions.
+   * Optional. If set, only return changes that match one or more of these types
+   * of actions.
    * 
* * @@ -244,7 +246,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are made by a user in this list.
+   * Optional. If set, only return changes if they are made by a user in this
+   * list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -256,7 +259,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are made by a user in this list.
+   * Optional. If set, only return changes if they are made by a user in this
+   * list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -268,7 +272,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are made by a user in this list.
+   * Optional. If set, only return changes if they are made by a user in this
+   * list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -281,7 +286,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. If set, only return changes if they are made by a user in this list.
+   * Optional. If set, only return changes if they are made by a user in this
+   * list.
    * 
* * repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -393,10 +399,11 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-   * Provide this to retrieve the subsequent page. When paginating, all other
-   * parameters provided to `SearchChangeHistoryEvents` must match the call that
-   * provided the page token.
+   * Optional. A page token, received from a previous
+   * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+   * page. When paginating, all other parameters provided to
+   * `SearchChangeHistoryEvents` must match the call that provided the page
+   * token.
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -408,10 +415,11 @@ public interface SearchChangeHistoryEventsRequestOrBuilder * * *
-   * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
-   * Provide this to retrieve the subsequent page. When paginating, all other
-   * parameters provided to `SearchChangeHistoryEvents` must match the call that
-   * provided the page token.
+   * Optional. A page token, received from a previous
+   * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+   * page. When paginating, all other parameters provided to
+   * `SearchChangeHistoryEvents` must match the call that provided the page
+   * token.
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java new file mode 100644 index 000000000000..386b2e10e04e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java @@ -0,0 +1,771 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Request for setting the opt out status for the automated GA4 setup process.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest} + */ +public final class SetAutomatedGa4ConfigurationOptOutRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) + SetAutomatedGa4ConfigurationOptOutRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() to construct. + private SetAutomatedGa4ConfigurationOptOutRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SetAutomatedGa4ConfigurationOptOutRequest() { + property_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SetAutomatedGa4ConfigurationOptOutRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest.class, + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest.Builder + .class); + } + + public static final int PROPERTY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object property_ = ""; + /** + * + * + *
+   * Required. The UA property to set the opt out status. Note this request uses
+   * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+   * Format: properties/{internalWebPropertyId}
+   * Example: properties/1234
+   * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The property. + */ + @java.lang.Override + public java.lang.String getProperty() { + java.lang.Object ref = property_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + property_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The UA property to set the opt out status. Note this request uses
+   * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+   * Format: properties/{internalWebPropertyId}
+   * Example: properties/1234
+   * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for property. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPropertyBytes() { + java.lang.Object ref = property_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + property_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPT_OUT_FIELD_NUMBER = 2; + private boolean optOut_ = false; + /** + * + * + *
+   * The status to set.
+   * 
+ * + * bool opt_out = 2; + * + * @return The optOut. + */ + @java.lang.Override + public boolean getOptOut() { + return optOut_; + } + + 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(property_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); + } + if (optOut_ != false) { + output.writeBool(2, optOut_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); + } + if (optOut_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, optOut_); + } + size += getUnknownFields().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.SetAutomatedGa4ConfigurationOptOutRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest other = + (com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) obj; + + if (!getProperty().equals(other.getProperty())) return false; + if (getOptOut() != other.getOptOut()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROPERTY_FIELD_NUMBER; + hash = (53 * hash) + getProperty().hashCode(); + hash = (37 * hash) + OPT_OUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOptOut()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + 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.SetAutomatedGa4ConfigurationOptOutRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + parseFrom( + 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.SetAutomatedGa4ConfigurationOptOutRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + 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.SetAutomatedGa4ConfigurationOptOutRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + 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.SetAutomatedGa4ConfigurationOptOutRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + 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.SetAutomatedGa4ConfigurationOptOutRequest + 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.SetAutomatedGa4ConfigurationOptOutRequest + 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.SetAutomatedGa4ConfigurationOptOutRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request for setting the opt out status for the automated GA4 setup process.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest.class, + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest.Builder + .class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + property_ = ""; + optOut_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest build() { + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + buildPartial() { + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest result = + new com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.property_ = property_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.optOut_ = optOut_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest other) { + if (other + == com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + .getDefaultInstance()) return this; + if (!other.getProperty().isEmpty()) { + property_ = other.property_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getOptOut() != false) { + setOptOut(other.getOptOut()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + optOut_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object property_ = ""; + /** + * + * + *
+     * Required. The UA property to set the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The property. + */ + public java.lang.String getProperty() { + java.lang.Object ref = property_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + property_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The UA property to set the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for property. + */ + public com.google.protobuf.ByteString getPropertyBytes() { + java.lang.Object ref = property_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + property_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The UA property to set the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The property to set. + * @return This builder for chaining. + */ + public Builder setProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + property_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The UA property to set the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProperty() { + property_ = getDefaultInstance().getProperty(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The UA property to set the opt out status. Note this request uses
+     * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+     * Format: properties/{internalWebPropertyId}
+     * Example: properties/1234
+     * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for property to set. + * @return This builder for chaining. + */ + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean optOut_; + /** + * + * + *
+     * The status to set.
+     * 
+ * + * bool opt_out = 2; + * + * @return The optOut. + */ + @java.lang.Override + public boolean getOptOut() { + return optOut_; + } + /** + * + * + *
+     * The status to set.
+     * 
+ * + * bool opt_out = 2; + * + * @param value The optOut to set. + * @return This builder for chaining. + */ + public Builder setOptOut(boolean value) { + + optOut_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The status to set.
+     * 
+ * + * bool opt_out = 2; + * + * @return This builder for chaining. + */ + public Builder clearOptOut() { + bitField0_ = (bitField0_ & ~0x00000002); + optOut_ = 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.SetAutomatedGa4ConfigurationOptOutRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) + private static final com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest(); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetAutomatedGa4ConfigurationOptOutRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java new file mode 100644 index 000000000000..6828842a0834 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +public interface SetAutomatedGa4ConfigurationOptOutRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The UA property to set the opt out status. Note this request uses
+   * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+   * Format: properties/{internalWebPropertyId}
+   * Example: properties/1234
+   * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The property. + */ + java.lang.String getProperty(); + /** + * + * + *
+   * Required. The UA property to set the opt out status. Note this request uses
+   * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
+   * Format: properties/{internalWebPropertyId}
+   * Example: properties/1234
+   * 
+ * + * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for property. + */ + com.google.protobuf.ByteString getPropertyBytes(); + + /** + * + * + *
+   * The status to set.
+   * 
+ * + * bool opt_out = 2; + * + * @return The optOut. + */ + boolean getOptOut(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java new file mode 100644 index 000000000000..f1fb9a575ba9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java @@ -0,0 +1,466 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Response message for setting the opt out status for the automated GA4 setup
+ * process.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse} + */ +public final class SetAutomatedGa4ConfigurationOptOutResponse + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse) + SetAutomatedGa4ConfigurationOptOutResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetAutomatedGa4ConfigurationOptOutResponse.newBuilder() to construct. + private SetAutomatedGa4ConfigurationOptOutResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SetAutomatedGa4ConfigurationOptOutResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SetAutomatedGa4ConfigurationOptOutResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse.class, + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse.Builder + .class); + } + + 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 { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().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.SetAutomatedGa4ConfigurationOptOutResponse)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse other = + (com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + 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.SetAutomatedGa4ConfigurationOptOutResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + parseFrom( + 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.SetAutomatedGa4ConfigurationOptOutResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + 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.SetAutomatedGa4ConfigurationOptOutResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + 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.SetAutomatedGa4ConfigurationOptOutResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + 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.SetAutomatedGa4ConfigurationOptOutResponse + 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.SetAutomatedGa4ConfigurationOptOutResponse + 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.SetAutomatedGa4ConfigurationOptOutResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for setting the opt out status for the automated GA4 setup
+   * process.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse) + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse.class, + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse.Builder + .class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutResponse_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse build() { + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + buildPartial() { + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse result = + new com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse other) { + if (other + == com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + .getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + 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.SetAutomatedGa4ConfigurationOptOutResponse) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse) + private static final com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse(); + } + + public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetAutomatedGa4ConfigurationOptOutResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java new file mode 100644 index 000000000000..e843febdcb4d --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface SetAutomatedGa4ConfigurationOptOutResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java index cedeb1d75945..50e1483f43cb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java @@ -130,9 +130,10 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -148,9 +149,10 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -166,9 +168,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -780,9 +783,10 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -797,9 +801,10 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -820,9 +825,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -845,9 +851,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -867,9 +874,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -895,9 +903,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -917,9 +926,10 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -934,9 +944,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -955,9 +966,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java index d10a3e0641f0..0b227a0decbe 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java @@ -71,9 +71,10 @@ public interface UpdateAccountRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -86,9 +87,10 @@ public interface UpdateAccountRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -101,9 +103,10 @@ public interface UpdateAccountRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java index 377403b9e33e..a0c0a03312e9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java @@ -132,9 +132,10 @@ public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSett * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -150,9 +151,10 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -168,9 +170,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -800,9 +803,10 @@ public Builder clearAttributionSettings() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -817,9 +821,10 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -840,9 +845,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -865,9 +871,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -887,9 +894,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -915,9 +923,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -937,9 +946,10 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -954,9 +964,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -975,9 +986,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java index 4b53fba0f13f..25b25d8b661e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java @@ -71,9 +71,10 @@ public interface UpdateAttributionSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -86,9 +87,10 @@ public interface UpdateAttributionSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -101,9 +103,10 @@ public interface UpdateAttributionSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java index 5d7eefc92f3d..ddc747a93172 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java @@ -130,9 +130,10 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -148,9 +149,10 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -166,9 +168,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -781,9 +784,10 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -798,9 +802,10 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -821,9 +826,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -846,9 +852,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -868,9 +875,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -896,9 +904,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -918,9 +927,10 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -935,9 +945,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -956,9 +967,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java index cdc0cd6b2965..725e3eca9a6e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java @@ -71,9 +71,10 @@ public interface UpdateAudienceRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -86,9 +87,10 @@ public interface UpdateAudienceRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -101,9 +103,10 @@ public interface UpdateAudienceRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java index 3dcb8533f570..6ca274079ac2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java @@ -121,9 +121,9 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -139,9 +139,9 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -157,9 +157,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -752,9 +752,9 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -769,9 +769,9 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -792,9 +792,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -817,9 +817,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -839,9 +839,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -867,9 +867,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -889,9 +889,9 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -906,9 +906,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -927,9 +927,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java index a379c03dd8e0..919c86809f3a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java @@ -62,9 +62,9 @@ public interface UpdateCustomDimensionRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -77,9 +77,9 @@ public interface UpdateCustomDimensionRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -92,9 +92,9 @@ public interface UpdateCustomDimensionRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java index bd977e78322e..581b7dd065a6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java @@ -121,9 +121,9 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -139,9 +139,9 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -157,9 +157,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -750,9 +750,9 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -767,9 +767,9 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -790,9 +790,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -815,9 +815,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -837,9 +837,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -865,9 +865,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -887,9 +887,9 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -904,9 +904,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -925,9 +925,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java index 76737db83da3..f349b2071047 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java @@ -62,9 +62,9 @@ public interface UpdateCustomMetricRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -77,9 +77,9 @@ public interface UpdateCustomMetricRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -92,9 +92,9 @@ public interface UpdateCustomMetricRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java index fe98a14b0970..f211a92c2f18 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java @@ -132,9 +132,10 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetention * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -150,9 +151,10 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -168,9 +170,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -801,9 +804,10 @@ public Builder clearDataRetentionSettings() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -818,9 +822,10 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -841,9 +846,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -866,9 +872,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -888,9 +895,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -916,9 +924,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -938,9 +947,10 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -955,9 +965,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -976,9 +987,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java index 3e1d5ccdc661..8490f71f3712 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java @@ -72,9 +72,10 @@ public interface UpdateDataRetentionSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -87,9 +88,10 @@ public interface UpdateDataRetentionSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -102,9 +104,10 @@ public interface UpdateDataRetentionSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java index b7fda1699de2..32d1fdf98707 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java @@ -121,9 +121,9 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -139,9 +139,9 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -157,9 +157,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -745,9 +745,9 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -762,9 +762,9 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -785,9 +785,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -810,9 +810,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -832,9 +832,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -860,9 +860,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -882,9 +882,9 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -899,9 +899,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -920,9 +920,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java index fa38bcf1dd7b..2a7dd37c7109 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java @@ -62,9 +62,9 @@ public interface UpdateDataStreamRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -77,9 +77,9 @@ public interface UpdateDataStreamRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -92,9 +92,9 @@ public interface UpdateDataStreamRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java index 956cb6ba1b48..69af8dfaba0f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java @@ -133,9 +133,9 @@ public boolean hasDisplayVideo360AdvertiserLink() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -151,9 +151,9 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -169,9 +169,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -810,9 +810,9 @@ public Builder clearDisplayVideo360AdvertiserLink() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -827,9 +827,9 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -850,9 +850,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -875,9 +875,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -897,9 +897,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -925,9 +925,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -947,9 +947,9 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -964,9 +964,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -985,9 +985,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Omitted fields will not be updated.
-     * To replace the entire entity, use one path with the string "*" to match
-     * all fields.
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java index 7424c583e663..3ba2aea0a627 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -70,9 +70,9 @@ public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -85,9 +85,9 @@ public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -100,9 +100,9 @@ public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Omitted fields will not be updated.
-   * To replace the entire entity, use one path with the string "*" to match
-   * all fields.
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java index 68d0dc9d7e46..e0fb79bf792d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java @@ -121,9 +121,10 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -139,9 +140,10 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -157,9 +159,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -750,9 +753,10 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -767,9 +771,10 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -790,9 +795,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -815,9 +821,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -837,9 +844,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -865,9 +873,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -887,9 +896,10 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -904,9 +914,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -925,9 +936,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java index 9a302809160a..3ba33eb56f0d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java @@ -62,9 +62,10 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -77,9 +78,10 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -92,9 +94,10 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java index 645e66cd2f56..1e7edfee29b2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java @@ -132,9 +132,10 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignals * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -150,9 +151,10 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -168,9 +170,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -801,9 +804,10 @@ public Builder clearGoogleSignalsSettings() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -818,9 +822,10 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -841,9 +846,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -866,9 +872,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -888,9 +895,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -916,9 +924,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -938,9 +947,10 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -955,9 +965,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -976,9 +987,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java index 6d1a64370e84..24597a05bd42 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java @@ -72,9 +72,10 @@ public interface UpdateGoogleSignalsSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -87,9 +88,10 @@ public interface UpdateGoogleSignalsSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -102,9 +104,10 @@ public interface UpdateGoogleSignalsSettingsRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java index f3daddb37d89..77d49b74655b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java @@ -133,9 +133,10 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -151,9 +152,10 @@ public boolean hasUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -169,9 +171,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -793,9 +796,10 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -810,9 +814,10 @@ public boolean hasUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -833,9 +838,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -858,9 +864,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -880,9 +887,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -908,9 +916,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -930,9 +939,10 @@ public Builder clearUpdateMask() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -947,9 +957,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -968,9 +979,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The list of fields to be updated. Field names must be in snake case
-     * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-     * the entire entity, use one path with the string "*" to match all fields.
+     * Required. The list of fields to be updated. Field names must be in snake
+     * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+     * replace the entire entity, use one path with the string "*" to match all
+     * fields.
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java index bad68db8b9dd..bb59549882fd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java @@ -74,9 +74,10 @@ public interface UpdatePropertyRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -89,9 +90,10 @@ public interface UpdatePropertyRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -104,9 +106,10 @@ public interface UpdatePropertyRequestOrBuilder * * *
-   * Required. The list of fields to be updated. Field names must be in snake case
-   * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
-   * the entire entity, use one path with the string "*" to match all fields.
+   * Required. The list of fields to be updated. Field names must be in snake
+   * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+   * replace the entire entity, use one path with the string "*" to match all
+   * fields.
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java new file mode 100644 index 000000000000..26cc40ae1d70 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java @@ -0,0 +1,1022 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +/** + * + * + *
+ * Request message for UpdateSearchAds360Link RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest} + */ +public final class UpdateSearchAds360LinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) + UpdateSearchAds360LinkRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateSearchAds360LinkRequest.newBuilder() to construct. + private UpdateSearchAds360LinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdateSearchAds360LinkRequest() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateSearchAds360LinkRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.Builder.class); + } + + public static final int SEARCH_ADS_360_LINK_FIELD_NUMBER = 1; + private com.google.analytics.admin.v1alpha.SearchAds360Link searchAds360Link_; + /** + * + * + *
+   * The SearchAds360Link to update
+   * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + * + * @return Whether the searchAds360Link field is set. + */ + @java.lang.Override + public boolean hasSearchAds360Link() { + return searchAds360Link_ != null; + } + /** + * + * + *
+   * The SearchAds360Link to update
+   * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + * + * @return The searchAds360Link. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link() { + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; + } + /** + * + * + *
+   * The SearchAds360Link to update
+   * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinkOrBuilder() { + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 2; + private com.google.protobuf.FieldMask updateMask_; + /** + * + * + *
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return updateMask_ != null; + } + /** + * + * + *
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + /** + * + * + *
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + + 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 (searchAds360Link_ != null) { + output.writeMessage(1, getSearchAds360Link()); + } + if (updateMask_ != null) { + output.writeMessage(2, getUpdateMask()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (searchAds360Link_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSearchAds360Link()); + } + if (updateMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + } + size += getUnknownFields().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.UpdateSearchAds360LinkRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest other = + (com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) obj; + + if (hasSearchAds360Link() != other.hasSearchAds360Link()) return false; + if (hasSearchAds360Link()) { + if (!getSearchAds360Link().equals(other.getSearchAds360Link())) return false; + } + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSearchAds360Link()) { + hash = (37 * hash) + SEARCH_ADS_360_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSearchAds360Link().hashCode(); + } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest 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.UpdateSearchAds360LinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest parseFrom( + 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.UpdateSearchAds360LinkRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest 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.UpdateSearchAds360LinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest 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.UpdateSearchAds360LinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest 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.UpdateSearchAds360LinkRequest 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.UpdateSearchAds360LinkRequest 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.UpdateSearchAds360LinkRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for UpdateSearchAds360Link RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + searchAds360Link_ = null; + if (searchAds360LinkBuilder_ != null) { + searchAds360LinkBuilder_.dispose(); + searchAds360LinkBuilder_ = null; + } + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSearchAds360LinkRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest build() { + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest result = + new com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.searchAds360Link_ = + searchAds360LinkBuilder_ == null ? searchAds360Link_ : searchAds360LinkBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.getDefaultInstance()) + return this; + if (other.hasSearchAds360Link()) { + mergeSearchAds360Link(other.getSearchAds360Link()); + } + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + getSearchAds360LinkFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.analytics.admin.v1alpha.SearchAds360Link searchAds360Link_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + searchAds360LinkBuilder_; + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + * + * @return Whether the searchAds360Link field is set. + */ + public boolean hasSearchAds360Link() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + * + * @return The searchAds360Link. + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link() { + if (searchAds360LinkBuilder_ == null) { + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; + } else { + return searchAds360LinkBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchAds360Link_ = value; + } else { + searchAds360LinkBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + public Builder setSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { + if (searchAds360LinkBuilder_ == null) { + searchAds360Link_ = builderForValue.build(); + } else { + searchAds360LinkBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + public Builder mergeSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinkBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && searchAds360Link_ != null + && searchAds360Link_ + != com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) { + getSearchAds360LinkBuilder().mergeFrom(value); + } else { + searchAds360Link_ = value; + } + } else { + searchAds360LinkBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + public Builder clearSearchAds360Link() { + bitField0_ = (bitField0_ & ~0x00000001); + searchAds360Link_ = null; + if (searchAds360LinkBuilder_ != null) { + searchAds360LinkBuilder_.dispose(); + searchAds360LinkBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder + getSearchAds360LinkBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getSearchAds360LinkFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinkOrBuilder() { + if (searchAds360LinkBuilder_ != null) { + return searchAds360LinkBuilder_.getMessageOrBuilder(); + } else { + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; + } + } + /** + * + * + *
+     * The SearchAds360Link to update
+     * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + getSearchAds360LinkFieldBuilder() { + if (searchAds360LinkBuilder_ == null) { + searchAds360LinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder>( + getSearchAds360Link(), getParentForChildren(), isClean()); + searchAds360Link_ = null; + } + return searchAds360LinkBuilder_; + } + + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + } else { + updateMaskBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + getUpdateMaskBuilder().mergeFrom(value); + } else { + updateMask_ = value; + } + } else { + updateMaskBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearUpdateMask() { + bitField0_ = (bitField0_ & ~0x00000002); + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } + } + /** + * + * + *
+     * Required. The list of fields to be updated. Omitted fields will not be
+     * updated. To replace the entire entity, use one path with the string "*" to
+     * match all fields.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + + @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.UpdateSearchAds360LinkRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) + private static final com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest(); + } + + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSearchAds360LinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java new file mode 100644 index 000000000000..b826dc073275 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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; + +public interface UpdateSearchAds360LinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The SearchAds360Link to update
+   * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + * + * @return Whether the searchAds360Link field is set. + */ + boolean hasSearchAds360Link(); + /** + * + * + *
+   * The SearchAds360Link to update
+   * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + * + * @return The searchAds360Link. + */ + com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link(); + /** + * + * + *
+   * The SearchAds360Link to update
+   * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1; + */ + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinkOrBuilder(); + + /** + * + * + *
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + /** + * + * + *
+   * Required. The list of fields to be updated. Omitted fields will not be
+   * updated. To replace the entire entity, use one path with the string "*" to
+   * match all fields.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto index ce6a8aa154f6..6800357d13f1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto @@ -306,8 +306,8 @@ message AccessQuota { AccessQuotaStatus tokens_per_day = 1; // 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. + // number of tokens, and that number is deducted from all of the hourly, + // daily, and per project hourly quotas. AccessQuotaStatus tokens_per_hour = 2; // Properties can use up to 50 concurrent requests. @@ -316,6 +316,12 @@ message AccessQuota { // Properties and cloud project pairs can have up to 50 server errors per // hour. AccessQuotaStatus server_errors_per_project_per_hour = 4; + + // Properties can use up to 25% of their tokens per project per hour. This + // amounts to Analytics 360 Properties can use 12,500 tokens per project per + // hour. An API request consumes a single number of tokens, and that number is + // deducted from all of the hourly, daily, and per project hourly quotas. + AccessQuotaStatus tokens_per_project_per_hour = 5; } // Current state for a particular quota group. diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto index 926f91bb3355..dbba107286f5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto @@ -88,7 +88,8 @@ service AnalyticsAdminService { } // Requests a ticket for creating an account. - rpc ProvisionAccountTicket(ProvisionAccountTicketRequest) returns (ProvisionAccountTicketResponse) { + rpc ProvisionAccountTicket(ProvisionAccountTicketRequest) + returns (ProvisionAccountTicketResponse) { option (google.api.http) = { post: "/v1alpha/accounts:provisionAccountTicket" body: "*" @@ -96,7 +97,8 @@ service AnalyticsAdminService { } // Returns summaries of all accounts accessible by the caller. - rpc ListAccountSummaries(ListAccountSummariesRequest) returns (ListAccountSummariesResponse) { + rpc ListAccountSummaries(ListAccountSummariesRequest) + returns (ListAccountSummariesResponse) { option (google.api.http) = { get: "/v1alpha/accountSummaries" }; @@ -141,7 +143,7 @@ service AnalyticsAdminService { // will be permanently purged. // https://support.google.com/analytics/answer/6154772 // - // Returns an error if the target is not found, or is not an GA4 Property. + // Returns an error if the target is not found, or is not a GA4 Property. rpc DeleteProperty(DeletePropertyRequest) returns (Property) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*}" @@ -162,15 +164,14 @@ service AnalyticsAdminService { rpc GetUserLink(GetUserLinkRequest) returns (UserLink) { option (google.api.http) = { get: "/v1alpha/{name=accounts/*/userLinks/*}" - additional_bindings { - get: "/v1alpha/{name=properties/*/userLinks/*}" - } + additional_bindings { get: "/v1alpha/{name=properties/*/userLinks/*}" } }; option (google.api.method_signature) = "name"; } // Gets information about multiple users' links to an account or property. - rpc BatchGetUserLinks(BatchGetUserLinksRequest) returns (BatchGetUserLinksResponse) { + rpc BatchGetUserLinks(BatchGetUserLinksRequest) + returns (BatchGetUserLinksResponse) { option (google.api.http) = { get: "/v1alpha/{parent=accounts/*}/userLinks:batchGet" additional_bindings { @@ -183,9 +184,7 @@ service AnalyticsAdminService { rpc ListUserLinks(ListUserLinksRequest) returns (ListUserLinksResponse) { option (google.api.http) = { get: "/v1alpha/{parent=accounts/*}/userLinks" - additional_bindings { - get: "/v1alpha/{parent=properties/*}/userLinks" - } + additional_bindings { get: "/v1alpha/{parent=properties/*}/userLinks" } }; option (google.api.method_signature) = "parent"; } @@ -231,7 +230,8 @@ service AnalyticsAdminService { // // This method is transactional. If any UserLink cannot be created, none of // the UserLinks will be created. - rpc BatchCreateUserLinks(BatchCreateUserLinksRequest) returns (BatchCreateUserLinksResponse) { + rpc BatchCreateUserLinks(BatchCreateUserLinksRequest) + returns (BatchCreateUserLinksResponse) { option (google.api.http) = { post: "/v1alpha/{parent=accounts/*}/userLinks:batchCreate" body: "*" @@ -256,7 +256,8 @@ service AnalyticsAdminService { } // Updates information about multiple users' links to an account or property. - rpc BatchUpdateUserLinks(BatchUpdateUserLinksRequest) returns (BatchUpdateUserLinksResponse) { + rpc BatchUpdateUserLinks(BatchUpdateUserLinksRequest) + returns (BatchUpdateUserLinksResponse) { option (google.api.http) = { post: "/v1alpha/{parent=accounts/*}/userLinks:batchUpdate" body: "*" @@ -271,15 +272,14 @@ service AnalyticsAdminService { rpc DeleteUserLink(DeleteUserLinkRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1alpha/{name=accounts/*/userLinks/*}" - additional_bindings { - delete: "/v1alpha/{name=properties/*/userLinks/*}" - } + additional_bindings { delete: "/v1alpha/{name=properties/*/userLinks/*}" } }; option (google.api.method_signature) = "name"; } // Deletes information about multiple users' links to an account or property. - rpc BatchDeleteUserLinks(BatchDeleteUserLinksRequest) returns (google.protobuf.Empty) { + rpc BatchDeleteUserLinks(BatchDeleteUserLinksRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1alpha/{parent=accounts/*}/userLinks:batchDelete" body: "*" @@ -302,7 +302,8 @@ service AnalyticsAdminService { } // Deletes a FirebaseLink on a property - rpc DeleteFirebaseLink(DeleteFirebaseLinkRequest) returns (google.protobuf.Empty) { + rpc DeleteFirebaseLink(DeleteFirebaseLinkRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*/firebaseLinks/*}" }; @@ -311,7 +312,8 @@ service AnalyticsAdminService { // Lists FirebaseLinks on a property. // Properties can have at most one FirebaseLink. - rpc ListFirebaseLinks(ListFirebaseLinksRequest) returns (ListFirebaseLinksResponse) { + rpc ListFirebaseLinks(ListFirebaseLinksRequest) + returns (ListFirebaseLinksResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/firebaseLinks" }; @@ -346,7 +348,8 @@ service AnalyticsAdminService { } // Deletes a GoogleAdsLink on a property - rpc DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest) returns (google.protobuf.Empty) { + rpc DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*/googleAdsLinks/*}" }; @@ -354,7 +357,8 @@ service AnalyticsAdminService { } // Lists GoogleAdsLinks on a property. - rpc ListGoogleAdsLinks(ListGoogleAdsLinksRequest) returns (ListGoogleAdsLinksResponse) { + rpc ListGoogleAdsLinks(ListGoogleAdsLinksRequest) + returns (ListGoogleAdsLinksResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/googleAdsLinks" }; @@ -363,7 +367,8 @@ service AnalyticsAdminService { // Get data sharing settings on an account. // Data sharing settings are singletons. - rpc GetDataSharingSettings(GetDataSharingSettingsRequest) returns (DataSharingSettings) { + rpc GetDataSharingSettings(GetDataSharingSettingsRequest) + returns (DataSharingSettings) { option (google.api.http) = { get: "/v1alpha/{name=accounts/*/dataSharingSettings}" }; @@ -371,7 +376,8 @@ service AnalyticsAdminService { } // Lookup for a single "GA4" MeasurementProtocolSecret. - rpc GetMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + rpc GetMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest) + returns (MeasurementProtocolSecret) { option (google.api.http) = { get: "/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" }; @@ -380,7 +386,8 @@ service AnalyticsAdminService { // Returns child MeasurementProtocolSecrets under the specified parent // Property. - rpc ListMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest) returns (ListMeasurementProtocolSecretsResponse) { + rpc ListMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest) + returns (ListMeasurementProtocolSecretsResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets" }; @@ -388,7 +395,8 @@ service AnalyticsAdminService { } // Creates a measurement protocol secret. - rpc CreateMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + rpc CreateMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest) + returns (MeasurementProtocolSecret) { option (google.api.http) = { post: "/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets" body: "measurement_protocol_secret" @@ -397,7 +405,8 @@ service AnalyticsAdminService { } // Deletes target MeasurementProtocolSecret. - rpc DeleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest) returns (google.protobuf.Empty) { + rpc DeleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" }; @@ -405,19 +414,22 @@ service AnalyticsAdminService { } // Updates a measurement protocol secret. - rpc UpdateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + rpc UpdateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest) + returns (MeasurementProtocolSecret) { option (google.api.http) = { patch: "/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" body: "measurement_protocol_secret" }; - option (google.api.method_signature) = "measurement_protocol_secret,update_mask"; + option (google.api.method_signature) = + "measurement_protocol_secret,update_mask"; } // Acknowledges the terms of user data collection for the specified property. // // This acknowledgement must be completed (either in the Google Analytics UI // or via this API) before MeasurementProtocolSecret resources may be created. - rpc AcknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest) returns (AcknowledgeUserDataCollectionResponse) { + rpc AcknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest) + returns (AcknowledgeUserDataCollectionResponse) { option (google.api.http) = { post: "/v1alpha/{property=properties/*}:acknowledgeUserDataCollection" body: "*" @@ -426,7 +438,8 @@ service AnalyticsAdminService { // Searches through all changes to an account or its children given the // specified set of filters. - rpc SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest) returns (SearchChangeHistoryEventsResponse) { + rpc SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest) + returns (SearchChangeHistoryEventsResponse) { option (google.api.http) = { post: "/v1alpha/{account=accounts/*}:searchChangeHistoryEvents" body: "*" @@ -434,7 +447,8 @@ service AnalyticsAdminService { } // Lookup for Google Signals settings for a property. - rpc GetGoogleSignalsSettings(GetGoogleSignalsSettingsRequest) returns (GoogleSignalsSettings) { + rpc GetGoogleSignalsSettings(GetGoogleSignalsSettingsRequest) + returns (GoogleSignalsSettings) { option (google.api.http) = { get: "/v1alpha/{name=properties/*/googleSignalsSettings}" }; @@ -442,16 +456,19 @@ service AnalyticsAdminService { } // Updates Google Signals settings for a property. - rpc UpdateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest) returns (GoogleSignalsSettings) { + rpc UpdateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest) + returns (GoogleSignalsSettings) { option (google.api.http) = { patch: "/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}" body: "google_signals_settings" }; - option (google.api.method_signature) = "google_signals_settings,update_mask"; + option (google.api.method_signature) = + "google_signals_settings,update_mask"; } // Creates a conversion event with the specified attributes. - rpc CreateConversionEvent(CreateConversionEventRequest) returns (ConversionEvent) { + rpc CreateConversionEvent(CreateConversionEventRequest) + returns (ConversionEvent) { option (google.api.http) = { post: "/v1alpha/{parent=properties/*}/conversionEvents" body: "conversion_event" @@ -468,7 +485,8 @@ service AnalyticsAdminService { } // Deletes a conversion event in a property. - rpc DeleteConversionEvent(DeleteConversionEventRequest) returns (google.protobuf.Empty) { + rpc DeleteConversionEvent(DeleteConversionEventRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*/conversionEvents/*}" }; @@ -478,7 +496,8 @@ service AnalyticsAdminService { // Returns a list of conversion events in the specified parent property. // // Returns an empty list if no conversion events are found. - rpc ListConversionEvents(ListConversionEventsRequest) returns (ListConversionEventsResponse) { + rpc ListConversionEvents(ListConversionEventsRequest) + returns (ListConversionEventsResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/conversionEvents" }; @@ -486,7 +505,8 @@ service AnalyticsAdminService { } // Look up a single DisplayVideo360AdvertiserLink - rpc GetDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest) returns (DisplayVideo360AdvertiserLink) { + rpc GetDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest) + returns (DisplayVideo360AdvertiserLink) { option (google.api.http) = { get: "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}" }; @@ -494,7 +514,9 @@ service AnalyticsAdminService { } // Lists all DisplayVideo360AdvertiserLinks on a property. - rpc ListDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest) returns (ListDisplayVideo360AdvertiserLinksResponse) { + rpc ListDisplayVideo360AdvertiserLinks( + ListDisplayVideo360AdvertiserLinksRequest) + returns (ListDisplayVideo360AdvertiserLinksResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks" }; @@ -506,16 +528,21 @@ service AnalyticsAdminService { // the Google Analytics property and on the Display & Video 360 advertiser. // Users who do not have access to the Display & Video 360 advertiser should // instead seek to create a DisplayVideo360LinkProposal. - rpc CreateDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest) returns (DisplayVideo360AdvertiserLink) { + rpc CreateDisplayVideo360AdvertiserLink( + CreateDisplayVideo360AdvertiserLinkRequest) + returns (DisplayVideo360AdvertiserLink) { option (google.api.http) = { post: "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks" body: "display_video_360_advertiser_link" }; - option (google.api.method_signature) = "parent,display_video_360_advertiser_link"; + option (google.api.method_signature) = + "parent,display_video_360_advertiser_link"; } // Deletes a DisplayVideo360AdvertiserLink on a property. - rpc DeleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest) returns (google.protobuf.Empty) { + rpc DeleteDisplayVideo360AdvertiserLink( + DeleteDisplayVideo360AdvertiserLinkRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}" }; @@ -523,16 +550,21 @@ service AnalyticsAdminService { } // Updates a DisplayVideo360AdvertiserLink on a property. - rpc UpdateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest) returns (DisplayVideo360AdvertiserLink) { + rpc UpdateDisplayVideo360AdvertiserLink( + UpdateDisplayVideo360AdvertiserLinkRequest) + returns (DisplayVideo360AdvertiserLink) { option (google.api.http) = { patch: "/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}" body: "display_video_360_advertiser_link" }; - option (google.api.method_signature) = "display_video_360_advertiser_link,update_mask"; + option (google.api.method_signature) = + "display_video_360_advertiser_link,update_mask"; } // Lookup for a single DisplayVideo360AdvertiserLinkProposal. - rpc GetDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest) returns (DisplayVideo360AdvertiserLinkProposal) { + rpc GetDisplayVideo360AdvertiserLinkProposal( + GetDisplayVideo360AdvertiserLinkProposalRequest) + returns (DisplayVideo360AdvertiserLinkProposal) { option (google.api.http) = { get: "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}" }; @@ -540,7 +572,9 @@ service AnalyticsAdminService { } // Lists DisplayVideo360AdvertiserLinkProposals on a property. - rpc ListDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest) returns (ListDisplayVideo360AdvertiserLinkProposalsResponse) { + rpc ListDisplayVideo360AdvertiserLinkProposals( + ListDisplayVideo360AdvertiserLinkProposalsRequest) + returns (ListDisplayVideo360AdvertiserLinkProposalsResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals" }; @@ -548,17 +582,22 @@ service AnalyticsAdminService { } // Creates a DisplayVideo360AdvertiserLinkProposal. - rpc CreateDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest) returns (DisplayVideo360AdvertiserLinkProposal) { + rpc CreateDisplayVideo360AdvertiserLinkProposal( + CreateDisplayVideo360AdvertiserLinkProposalRequest) + returns (DisplayVideo360AdvertiserLinkProposal) { option (google.api.http) = { post: "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals" body: "display_video_360_advertiser_link_proposal" }; - option (google.api.method_signature) = "parent,display_video_360_advertiser_link_proposal"; + option (google.api.method_signature) = + "parent,display_video_360_advertiser_link_proposal"; } // Deletes a DisplayVideo360AdvertiserLinkProposal on a property. // This can only be used on cancelled proposals. - rpc DeleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest) returns (google.protobuf.Empty) { + rpc DeleteDisplayVideo360AdvertiserLinkProposal( + DeleteDisplayVideo360AdvertiserLinkProposalRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}" }; @@ -568,7 +607,9 @@ service AnalyticsAdminService { // Approves a DisplayVideo360AdvertiserLinkProposal. // The DisplayVideo360AdvertiserLinkProposal will be deleted and a new // DisplayVideo360AdvertiserLink will be created. - rpc ApproveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest) returns (ApproveDisplayVideo360AdvertiserLinkProposalResponse) { + rpc ApproveDisplayVideo360AdvertiserLinkProposal( + ApproveDisplayVideo360AdvertiserLinkProposalRequest) + returns (ApproveDisplayVideo360AdvertiserLinkProposalResponse) { option (google.api.http) = { post: "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve" body: "*" @@ -580,7 +621,9 @@ service AnalyticsAdminService { // - Declining a proposal initiated from Display & Video 360 // - Withdrawing a proposal initiated from Google Analytics // After being cancelled, a proposal will eventually be deleted automatically. - rpc CancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest) returns (DisplayVideo360AdvertiserLinkProposal) { + rpc CancelDisplayVideo360AdvertiserLinkProposal( + CancelDisplayVideo360AdvertiserLinkProposalRequest) + returns (DisplayVideo360AdvertiserLinkProposal) { option (google.api.http) = { post: "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel" body: "*" @@ -588,7 +631,8 @@ service AnalyticsAdminService { } // Creates a CustomDimension. - rpc CreateCustomDimension(CreateCustomDimensionRequest) returns (CustomDimension) { + rpc CreateCustomDimension(CreateCustomDimensionRequest) + returns (CustomDimension) { option (google.api.http) = { post: "/v1alpha/{parent=properties/*}/customDimensions" body: "custom_dimension" @@ -597,7 +641,8 @@ service AnalyticsAdminService { } // Updates a CustomDimension on a property. - rpc UpdateCustomDimension(UpdateCustomDimensionRequest) returns (CustomDimension) { + rpc UpdateCustomDimension(UpdateCustomDimensionRequest) + returns (CustomDimension) { option (google.api.http) = { patch: "/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}" body: "custom_dimension" @@ -606,7 +651,8 @@ service AnalyticsAdminService { } // Lists CustomDimensions on a property. - rpc ListCustomDimensions(ListCustomDimensionsRequest) returns (ListCustomDimensionsResponse) { + rpc ListCustomDimensions(ListCustomDimensionsRequest) + returns (ListCustomDimensionsResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/customDimensions" }; @@ -614,7 +660,8 @@ service AnalyticsAdminService { } // Archives a CustomDimension on a property. - rpc ArchiveCustomDimension(ArchiveCustomDimensionRequest) returns (google.protobuf.Empty) { + rpc ArchiveCustomDimension(ArchiveCustomDimensionRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1alpha/{name=properties/*/customDimensions/*}:archive" body: "*" @@ -649,7 +696,8 @@ service AnalyticsAdminService { } // Lists CustomMetrics on a property. - rpc ListCustomMetrics(ListCustomMetricsRequest) returns (ListCustomMetricsResponse) { + rpc ListCustomMetrics(ListCustomMetricsRequest) + returns (ListCustomMetricsResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/customMetrics" }; @@ -657,7 +705,8 @@ service AnalyticsAdminService { } // Archives a CustomMetric on a property. - rpc ArchiveCustomMetric(ArchiveCustomMetricRequest) returns (google.protobuf.Empty) { + rpc ArchiveCustomMetric(ArchiveCustomMetricRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1alpha/{name=properties/*/customMetrics/*}:archive" body: "*" @@ -674,7 +723,8 @@ service AnalyticsAdminService { } // Returns the singleton data retention settings for this property. - rpc GetDataRetentionSettings(GetDataRetentionSettingsRequest) returns (DataRetentionSettings) { + rpc GetDataRetentionSettings(GetDataRetentionSettingsRequest) + returns (DataRetentionSettings) { option (google.api.http) = { get: "/v1alpha/{name=properties/*/dataRetentionSettings}" }; @@ -682,12 +732,14 @@ service AnalyticsAdminService { } // Updates the singleton data retention settings for this property. - rpc UpdateDataRetentionSettings(UpdateDataRetentionSettingsRequest) returns (DataRetentionSettings) { + rpc UpdateDataRetentionSettings(UpdateDataRetentionSettingsRequest) + returns (DataRetentionSettings) { option (google.api.http) = { patch: "/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}" body: "data_retention_settings" }; - option (google.api.method_signature) = "data_retention_settings,update_mask"; + option (google.api.method_signature) = + "data_retention_settings,update_mask"; } // Creates a DataStream. @@ -700,7 +752,8 @@ service AnalyticsAdminService { } // Deletes a DataStream on a property. - rpc DeleteDataStream(DeleteDataStreamRequest) returns (google.protobuf.Empty) { + rpc DeleteDataStream(DeleteDataStreamRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*/dataStreams/*}" }; @@ -717,7 +770,8 @@ service AnalyticsAdminService { } // Lists DataStreams on a property. - rpc ListDataStreams(ListDataStreamsRequest) returns (ListDataStreamsResponse) { + rpc ListDataStreams(ListDataStreamsRequest) + returns (ListDataStreamsResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/dataStreams" }; @@ -734,6 +788,7 @@ service AnalyticsAdminService { // Lookup for a single Audience. // Audiences created before 2020 may not be supported. + // Default audiences will not show filter definitions. rpc GetAudience(GetAudienceRequest) returns (Audience) { option (google.api.http) = { get: "/v1alpha/{name=properties/*/audiences/*}" @@ -743,6 +798,7 @@ service AnalyticsAdminService { // Lists Audiences on a property. // Audiences created before 2020 may not be supported. + // Default audiences will not show filter definitions. rpc ListAudiences(ListAudiencesRequest) returns (ListAudiencesResponse) { option (google.api.http) = { get: "/v1alpha/{parent=properties/*}/audiences" @@ -776,8 +832,56 @@ service AnalyticsAdminService { }; } + // Look up a single SearchAds360Link + rpc GetSearchAds360Link(GetSearchAds360LinkRequest) + returns (SearchAds360Link) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/searchAds360Links/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all SearchAds360Links on a property. + rpc ListSearchAds360Links(ListSearchAds360LinksRequest) + returns (ListSearchAds360LinksResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/searchAds360Links" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a SearchAds360Link. + rpc CreateSearchAds360Link(CreateSearchAds360LinkRequest) + returns (SearchAds360Link) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/searchAds360Links" + body: "search_ads_360_link" + }; + option (google.api.method_signature) = "parent,search_ads_360_link"; + } + + // Deletes a SearchAds360Link on a property. + rpc DeleteSearchAds360Link(DeleteSearchAds360LinkRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/searchAds360Links/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a SearchAds360Link on a property. + rpc UpdateSearchAds360Link(UpdateSearchAds360LinkRequest) + returns (SearchAds360Link) { + option (google.api.http) = { + patch: "/v1alpha/{search_ads_360_link.name=properties/*/searchAds360Links/*}" + body: "search_ads_360_link" + }; + option (google.api.method_signature) = "search_ads_360_link,update_mask"; + } + // Lookup for a AttributionSettings singleton. - rpc GetAttributionSettings(GetAttributionSettingsRequest) returns (AttributionSettings) { + rpc GetAttributionSettings(GetAttributionSettingsRequest) + returns (AttributionSettings) { option (google.api.http) = { get: "/v1alpha/{name=properties/*/attributionSettings}" }; @@ -785,7 +889,8 @@ service AnalyticsAdminService { } // Updates attribution settings on a property. - rpc UpdateAttributionSettings(UpdateAttributionSettingsRequest) returns (AttributionSettings) { + rpc UpdateAttributionSettings(UpdateAttributionSettingsRequest) + returns (AttributionSettings) { option (google.api.http) = { patch: "/v1alpha/{attribution_settings.name=properties/*/attributionSettings}" body: "attribution_settings" @@ -806,12 +911,54 @@ service AnalyticsAdminService { // 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). - rpc RunAccessReport(RunAccessReportRequest) returns (RunAccessReportResponse) { + rpc RunAccessReport(RunAccessReportRequest) + returns (RunAccessReportResponse) { option (google.api.http) = { post: "/v1alpha/{entity=properties/*}:runAccessReport" body: "*" }; } + + // Sets the opt out status for the automated GA4 setup process for a UA + // property. + // Note: this has no effect on GA4 property. + rpc SetAutomatedGa4ConfigurationOptOut( + SetAutomatedGa4ConfigurationOptOutRequest) + returns (SetAutomatedGa4ConfigurationOptOutResponse) { + option (google.api.http) = { + post: "/v1alpha/properties:setAutomatedGa4ConfigurationOptOut" + body: "*" + }; + } + + // Fetches the opt out status for the automated GA4 setup process for a UA + // property. + // Note: this has no effect on GA4 property. + rpc FetchAutomatedGa4ConfigurationOptOut( + FetchAutomatedGa4ConfigurationOptOutRequest) + returns (FetchAutomatedGa4ConfigurationOptOutResponse) { + option (google.api.http) = { + post: "/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut" + body: "*" + }; + } + + // Lookup for a single BigQuery Link. + rpc GetBigQueryLink(GetBigQueryLinkRequest) returns (BigQueryLink) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/bigQueryLinks/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists BigQuery Links on a property. + rpc ListBigQueryLinks(ListBigQueryLinksRequest) + returns (ListBigQueryLinksResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/bigQueryLinks" + }; + option (google.api.method_signature) = "parent"; + } } // The request for a Data Access Record Report. @@ -979,10 +1126,12 @@ message UpdateAccountRequest { // The account's `name` field is used to identify the account. Account account = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ProvisionAccountTicket RPC. @@ -1069,10 +1218,12 @@ message UpdatePropertyRequest { // updated. Property property = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for CreateProperty RPC. @@ -1220,8 +1371,8 @@ message CreateUserLinkRequest { } ]; - // Optional. If set, then email the new user notifying them that they've been granted - // permissions to the resource. + // Optional. If set, then email the new user notifying them that they've been + // granted permissions to the resource. bool notify_new_user = 2 [(google.api.field_behavior) = OPTIONAL]; // Required. The user link to create. @@ -1230,8 +1381,8 @@ message CreateUserLinkRequest { // Request message for BatchCreateUserLinks RPC. message BatchCreateUserLinksRequest { - // Required. The account or property that all user links in the request are for. - // This field is required. The parent field in the CreateUserLinkRequest + // Required. The account or property that all user links in the request are + // for. This field is required. The parent field in the CreateUserLinkRequest // messages must either be empty or match this field. // Example format: accounts/1234 string parent = 1 [ @@ -1241,14 +1392,15 @@ message BatchCreateUserLinksRequest { } ]; - // Optional. If set, then email the new users notifying them that they've been granted - // permissions to the resource. Regardless of whether this is set or not, - // notify_new_user field inside each individual request is ignored. + // Optional. If set, then email the new users notifying them that they've been + // granted permissions to the resource. Regardless of whether this is set or + // not, notify_new_user field inside each individual request is ignored. bool notify_new_users = 2 [(google.api.field_behavior) = OPTIONAL]; // Required. The requests specifying the user links to create. // A maximum of 1000 user links can be created in a batch. - repeated CreateUserLinkRequest requests = 3 [(google.api.field_behavior) = REQUIRED]; + repeated CreateUserLinkRequest requests = 3 + [(google.api.field_behavior) = REQUIRED]; } // Response message for BatchCreateUserLinks RPC. @@ -1278,7 +1430,8 @@ message BatchUpdateUserLinksRequest { // Required. The requests specifying the user links to update. // A maximum of 1000 user links can be updated in a batch. - repeated UpdateUserLinkRequest requests = 2 [(google.api.field_behavior) = REQUIRED]; + repeated UpdateUserLinkRequest requests = 2 + [(google.api.field_behavior) = REQUIRED]; } // Response message for BatchUpdateUserLinks RPC. @@ -1313,7 +1466,8 @@ message BatchDeleteUserLinksRequest { // Required. The requests specifying the user links to update. // A maximum of 1000 user links can be updated in a batch. - repeated DeleteUserLinkRequest requests = 2 [(google.api.field_behavior) = REQUIRED]; + repeated DeleteUserLinkRequest requests = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for CreateFirebaseLink RPC @@ -1362,7 +1516,7 @@ message ListFirebaseLinksRequest { // A page token, received from a previous `ListFirebaseLinks` call. // Provide this to retrieve the subsequent page. - // When paginating, all other parameters provided to `ListProperties` must + // When paginating, all other parameters provided to `ListFirebaseLinks` must // match the call that provided the page token. string page_token = 3; } @@ -1412,10 +1566,12 @@ message UpdateGoogleAdsLinkRequest { // The GoogleAdsLink to update GoogleAdsLink google_ads_link = 1; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for DeleteGoogleAdsLink RPC. @@ -1510,8 +1666,8 @@ message AcknowledgeUserDataCollectionRequest { } ]; - // Required. An acknowledgement that the caller of this method understands the terms - // of user data collection. + // Required. An acknowledgement that the caller of this method understands the + // terms of user data collection. // // This field must contain the exact value: // "I acknowledge that I have the necessary privacy disclosures and rights @@ -1522,13 +1678,12 @@ message AcknowledgeUserDataCollectionRequest { } // Response message for AcknowledgeUserDataCollection RPC. -message AcknowledgeUserDataCollectionResponse { - -} +message AcknowledgeUserDataCollectionResponse {} // Request message for SearchChangeHistoryEvents RPC. message SearchChangeHistoryEventsRequest { - // Required. The account resource for which to return change history resources. + // Required. The account resource for which to return change history + // resources. string account = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1545,22 +1700,26 @@ message SearchChangeHistoryEventsRequest { } ]; - // Optional. If set, only return changes if they are for a resource that matches at - // least one of these types. - repeated ChangeHistoryResourceType resource_type = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If set, only return changes if they are for a resource that + // matches at least one of these types. + repeated ChangeHistoryResourceType resource_type = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set, only return changes that match one or more of these types of - // actions. + // Optional. If set, only return changes that match one or more of these types + // of actions. repeated ActionType action = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set, only return changes if they are made by a user in this list. + // Optional. If set, only return changes if they are made by a user in this + // list. repeated string actor_email = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. If set, only return changes made after this time (inclusive). - google.protobuf.Timestamp earliest_change_time = 6 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp earliest_change_time = 6 + [(google.api.field_behavior) = OPTIONAL]; // Optional. If set, only return changes made before this time (inclusive). - google.protobuf.Timestamp latest_change_time = 7 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp latest_change_time = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of ChangeHistoryEvent items to return. // The service may return fewer than this value, even if there are additional @@ -1568,10 +1727,11 @@ message SearchChangeHistoryEventsRequest { // The maximum value is 200 (higher values will be coerced to the maximum). int32 page_size = 8 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. - // Provide this to retrieve the subsequent page. When paginating, all other - // parameters provided to `SearchChangeHistoryEvents` must match the call that - // provided the page token. + // Optional. A page token, received from a previous + // `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent + // page. When paginating, all other parameters provided to + // `SearchChangeHistoryEvents` must match the call that provided the page + // token. string page_token = 9 [(google.api.field_behavior) = OPTIONAL]; } @@ -1610,7 +1770,8 @@ message CreateMeasurementProtocolSecretRequest { ]; // Required. The measurement protocol secret to create. - MeasurementProtocolSecret measurement_protocol_secret = 2 [(google.api.field_behavior) = REQUIRED]; + MeasurementProtocolSecret measurement_protocol_secret = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for DeleteMeasurementProtocolSecret RPC @@ -1629,7 +1790,8 @@ message DeleteMeasurementProtocolSecretRequest { // Request message for UpdateMeasurementProtocolSecret RPC message UpdateMeasurementProtocolSecretRequest { // Required. The measurement protocol secret to update. - MeasurementProtocolSecret measurement_protocol_secret = 1 [(google.api.field_behavior) = REQUIRED]; + MeasurementProtocolSecret measurement_protocol_secret = 1 + [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. Omitted fields will not be updated. google.protobuf.FieldMask update_mask = 2; @@ -1685,12 +1847,15 @@ message GetGoogleSignalsSettingsRequest { message UpdateGoogleSignalsSettingsRequest { // Required. The settings to update. // The `name` field is used to identify the settings to be updated. - GoogleSignalsSettings google_signals_settings = 1 [(google.api.field_behavior) = REQUIRED]; + GoogleSignalsSettings google_signals_settings = 1 + [(google.api.field_behavior) = REQUIRED]; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for CreateConversionEvent RPC @@ -1698,8 +1863,8 @@ message CreateConversionEventRequest { // Required. The conversion event to create. ConversionEvent conversion_event = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The resource name of the parent property where this conversion event will - // be created. Format: properties/123 + // Required. The resource name of the parent property where this conversion + // event will be created. Format: properties/123 string parent = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1824,7 +1989,8 @@ message CreateDisplayVideo360AdvertiserLinkRequest { ]; // Required. The DisplayVideo360AdvertiserLink to create. - DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(google.api.field_behavior) = REQUIRED]; + DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for DeleteDisplayVideo360AdvertiserLink RPC. @@ -1844,10 +2010,11 @@ message UpdateDisplayVideo360AdvertiserLinkRequest { // The DisplayVideo360AdvertiserLink to update DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - // Required. The list of fields to be updated. Omitted fields will not be updated. - // To replace the entire entity, use one path with the string "*" to match - // all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for GetDisplayVideo360AdvertiserLinkProposal RPC. @@ -1890,7 +2057,8 @@ message ListDisplayVideo360AdvertiserLinkProposalsRequest { // Response message for ListDisplayVideo360AdvertiserLinkProposals RPC. message ListDisplayVideo360AdvertiserLinkProposalsResponse { // List of DisplayVideo360AdvertiserLinkProposals. - repeated DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + repeated DisplayVideo360AdvertiserLinkProposal + display_video_360_advertiser_link_proposals = 1; // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. @@ -1908,7 +2076,9 @@ message CreateDisplayVideo360AdvertiserLinkProposalRequest { ]; // Required. The DisplayVideo360AdvertiserLinkProposal to create. - DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(google.api.field_behavior) = REQUIRED]; + DisplayVideo360AdvertiserLinkProposal + display_video_360_advertiser_link_proposal = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC. @@ -1954,6 +2124,91 @@ message CancelDisplayVideo360AdvertiserLinkProposalRequest { ]; } +// Request message for GetSearchAds360Link RPC. +message GetSearchAds360LinkRequest { + // Required. The name of the SearchAds360Link to get. + // Example format: properties/1234/SearchAds360Link/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/SearchAds360Link" + } + ]; +} + +// Request message for ListSearchAds360Links RPC. +message ListSearchAds360LinksRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/SearchAds360Link" + } + ]; + + // The maximum number of resources to return. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200 (higher values will be coerced to the maximum). + int32 page_size = 2; + + // A page token, received from a previous `ListSearchAds360Links` + // call. Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListSearchAds360Links` must match the call that provided the + // page token. + string page_token = 3; +} + +// Response message for ListSearchAds360Links RPC. +message ListSearchAds360LinksResponse { + // List of SearchAds360Links. + repeated SearchAds360Link search_ads_360_links = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for CreateSearchAds360Link RPC. +message CreateSearchAds360LinkRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/SearchAds360Link" + } + ]; + + // Required. The SearchAds360Link to create. + SearchAds360Link search_ads_360_link = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteSearchAds360Link RPC. +message DeleteSearchAds360LinkRequest { + // Required. The name of the SearchAds360Link to delete. + // Example format: properties/1234/SearchAds360Links/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/SearchAds360Link" + } + ]; +} + +// Request message for UpdateSearchAds360Link RPC. +message UpdateSearchAds360LinkRequest { + // The SearchAds360Link to update + SearchAds360Link search_ads_360_link = 1; + + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // Request message for CreateCustomDimension RPC. message CreateCustomDimensionRequest { // Required. Example format: properties/1234 @@ -1973,10 +2228,11 @@ message UpdateCustomDimensionRequest { // The CustomDimension to update CustomDimension custom_dimension = 1; - // Required. The list of fields to be updated. Omitted fields will not be updated. - // To replace the entire entity, use one path with the string "*" to match - // all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ListCustomDimensions RPC. @@ -2055,10 +2311,11 @@ message UpdateCustomMetricRequest { // The CustomMetric to update CustomMetric custom_metric = 1; - // Required. The list of fields to be updated. Omitted fields will not be updated. - // To replace the entire entity, use one path with the string "*" to match - // all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ListCustomMetrics RPC. @@ -2136,12 +2393,15 @@ message GetDataRetentionSettingsRequest { message UpdateDataRetentionSettingsRequest { // Required. The settings to update. // The `name` field is used to identify the settings to be updated. - DataRetentionSettings data_retention_settings = 1 [(google.api.field_behavior) = REQUIRED]; + DataRetentionSettings data_retention_settings = 1 + [(google.api.field_behavior) = REQUIRED]; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for CreateDataStream RPC. @@ -2175,10 +2435,11 @@ message UpdateDataStreamRequest { // The DataStream to update DataStream data_stream = 1; - // Required. The list of fields to be updated. Omitted fields will not be updated. - // To replace the entire entity, use one path with the string "*" to match - // all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ListDataStreams RPC. @@ -2291,10 +2552,12 @@ message UpdateAudienceRequest { // The audience's `name` field is used to identify the audience to be updated. Audience audience = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ArchiveAudience RPC. @@ -2324,10 +2587,93 @@ message GetAttributionSettingsRequest { message UpdateAttributionSettingsRequest { // Required. The attribution settings to update. // The `name` field is used to identify the settings to be updated. - AttributionSettings attribution_settings = 1 [(google.api.field_behavior) = REQUIRED]; + AttributionSettings attribution_settings = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request for setting the opt out status for the automated GA4 setup process. +message SetAutomatedGa4ConfigurationOptOutRequest { + // Required. The UA property to set the opt out status. Note this request uses + // the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + // Format: properties/{internalWebPropertyId} + // Example: properties/1234 + string property = 1 [(google.api.field_behavior) = REQUIRED]; + + // The status to set. + bool opt_out = 2; +} - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; +// Response message for setting the opt out status for the automated GA4 setup +// process. +message SetAutomatedGa4ConfigurationOptOutResponse {} + +// Request for fetching the opt out status for the automated GA4 setup process. +message FetchAutomatedGa4ConfigurationOptOutRequest { + // Required. The UA property to get the opt out status. Note this request uses + // the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + // Format: properties/{internalWebPropertyId} + // Example: properties/1234 + string property = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for fetching the opt out status for the automated GA4 setup +// process. +message FetchAutomatedGa4ConfigurationOptOutResponse { + // The opt out status for the UA property. + bool opt_out = 1; +} + +// Request message for GetBigQueryLink RPC. +message GetBigQueryLinkRequest { + // Required. The name of the BigQuery link to lookup. + // Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} + // Example: properties/123/bigQueryLinks/456 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/BigQueryLink" + } + ]; +} + +// Request message for ListBigQueryLinks RPC. +message ListBigQueryLinksRequest { + // Required. The name of the property to list BigQuery links under. + // Format: properties/{property_id} + // Example: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/BigQueryLink" + } + ]; + + // The maximum number of resources to return. The service may return + // fewer than this value, even if there are additional pages. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200; (higher values will be coerced to the maximum) + int32 page_size = 2; + + // A page token, received from a previous `ListBigQueryLinks` call. + // Provide this to retrieve the subsequent page. + // When paginating, all other parameters provided to `ListBigQueryLinks` must + // match the call that provided the page token. + string page_token = 3; +} + +// Response message for ListBigQueryLinks RPC +message ListBigQueryLinksResponse { + // List of BigQueryLinks. + repeated BigQueryLink bigquery_links = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto index e12943e1c9d1..cc3c732957d2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto @@ -66,9 +66,6 @@ message AudienceDimensionOrMetricFilter { // Full regular expression matches with the string value. FULL_REGEXP = 5; - - // Partial regular expression matches with the string value. - PARTIAL_REGEXP = 6; } // Required. The match type for the string filter. @@ -84,7 +81,8 @@ message AudienceDimensionOrMetricFilter { // A filter for a string dimension that matches a particular list of options. message InListFilter { - // Required. The list of possible string values to match against. Must be non-empty. + // Required. The list of possible string values to match against. Must be + // non-empty. repeated string values = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. If true, the match is case-sensitive. If false, the match is @@ -117,14 +115,8 @@ message AudienceDimensionOrMetricFilter { // Less than. LESS_THAN = 2; - // Less than or equal. - LESS_THAN_OR_EQUAL = 3; - // Greater than. GREATER_THAN = 4; - - // Greater than or equal. - GREATER_THAN_OR_EQUAL = 5; } // Required. The operation applied to a numeric filter. @@ -167,8 +159,8 @@ message AudienceDimensionOrMetricFilter { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. Indicates whether this filter needs dynamic evaluation or not. If set to - // true, users join the Audience if they ever met the condition (static + // Optional. Indicates whether this filter needs dynamic evaluation or not. If + // set to true, users join the Audience if they ever met the condition (static // evaluation). If unset or set to false, user evaluation for an Audience is // dynamic; users are added to an Audience when they meet the conditions and // then removed when they no longer meet them. @@ -176,9 +168,9 @@ message AudienceDimensionOrMetricFilter { // This can only be set when Audience scope is ACROSS_ALL_SESSIONS. bool at_any_point_in_time = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set, specifies the time window for which to evaluate data in number of - // days. If not set, then audience data is evaluated against lifetime data - // (i.e., infinite time window). + // Optional. If set, specifies the time window for which to evaluate data in + // number of days. If not set, then audience data is evaluated against + // lifetime data (i.e., infinite time window). // // For example, if set to 1 day, only the current day's data is evaluated. The // reference point is the current day when at_any_point_in_time is unset or @@ -199,14 +191,15 @@ message AudienceEventFilter { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. If specified, this filter matches events that match both the single - // event name and the parameter filter expressions. AudienceEventFilter + // Optional. If specified, this filter matches events that match both the + // single event name and the parameter filter expressions. AudienceEventFilter // inside the parameter filter expression cannot be set (i.e., nested // event filters are not supported). This should be a single and_group of // dimension_or_metric_filter or not_expression; ANDs of ORs are not // supported. Also, if it includes a filter for "eventCount", only that one // will be considered; all the other filters will be ignored. - AudienceFilterExpression event_parameter_filter_expression = 2 [(google.api.field_behavior) = OPTIONAL]; + AudienceFilterExpression event_parameter_filter_expression = 2 + [(google.api.field_behavior) = OPTIONAL]; } // A logical expression of Audience dimension, metric, or event filters. @@ -252,7 +245,8 @@ message AudienceSimpleFilter { (google.api.field_behavior) = IMMUTABLE ]; - // Required. Immutable. A logical expression of Audience dimension, metric, or event filters. + // Required. Immutable. A logical expression of Audience dimension, metric, or + // event filters. AudienceFilterExpression filter_expression = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE @@ -271,21 +265,22 @@ message AudienceSequenceFilter { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. If true, the event satisfying this step must be the very next event - // after the event satisfying the last step. If unset or false, this + // Optional. If true, the event satisfying this step must be the very next + // event after the event satisfying the last step. If unset or false, this // step indirectly follows the prior step; for example, there may be // events between the prior step and this step. It is ignored for the // first step. bool immediately_follows = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. When set, this step must be satisfied within the constraint_duration of - // the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not - // set, there is no duration requirement (the duration is effectively - // unlimited). It is ignored for the first step. - google.protobuf.Duration constraint_duration = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. When set, this step must be satisfied within the + // constraint_duration of the previous step (i.e., t[i] - t[i-1] <= + // constraint_duration). If not set, there is no duration requirement (the + // duration is effectively unlimited). It is ignored for the first step. + google.protobuf.Duration constraint_duration = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Required. Immutable. A logical expression of Audience dimension, metric, or event filters in - // each step. + // Required. Immutable. A logical expression of Audience dimension, metric, + // or event filters in each step. AudienceFilterExpression filter_expression = 4 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE @@ -299,11 +294,13 @@ message AudienceSequenceFilter { ]; // Optional. Defines the time period in which the whole sequence must occur. - google.protobuf.Duration sequence_maximum_duration = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Duration sequence_maximum_duration = 2 + [(google.api.field_behavior) = OPTIONAL]; - // Required. An ordered sequence of steps. A user must complete each step in order to - // join the sequence filter. - repeated AudienceSequenceStep sequence_steps = 3 [(google.api.field_behavior) = REQUIRED]; + // Required. An ordered sequence of steps. A user must complete each step in + // order to join the sequence filter. + repeated AudienceSequenceStep sequence_steps = 3 + [(google.api.field_behavior) = REQUIRED]; } // A clause for defining either a simple or sequence filter. A filter can be @@ -389,28 +386,31 @@ message Audience { // Required. The description of the Audience. string description = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more - // than 540 days. + // Required. Immutable. The duration a user should stay in an Audience. It + // cannot be set to more than 540 days. int32 membership_duration_days = 4 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE ]; - // Output only. It is automatically set by GA to false if this is an NPA Audience and is - // excluded from ads personalization. - bool ads_personalization_enabled = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. It is automatically set by GA to false if this is an NPA + // Audience and is excluded from ads personalization. + bool ads_personalization_enabled = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. Specifies an event to log when a user joins the Audience. If not set, no - // event is logged when a user joins the Audience. - AudienceEventTrigger event_trigger = 6 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Specifies an event to log when a user joins the Audience. If not + // set, no event is logged when a user joins the Audience. + AudienceEventTrigger event_trigger = 6 + [(google.api.field_behavior) = OPTIONAL]; - // Immutable. Specifies how long an exclusion lasts for users that meet the exclusion - // filter. It is applied to all EXCLUDE filter clauses and is ignored when - // there is no EXCLUDE filter clause in the Audience. - AudienceExclusionDurationMode exclusion_duration_mode = 7 [(google.api.field_behavior) = IMMUTABLE]; + // Immutable. Specifies how long an exclusion lasts for users that meet the + // exclusion filter. It is applied to all EXCLUDE filter clauses and is + // ignored when there is no EXCLUDE filter clause in the Audience. + AudienceExclusionDurationMode exclusion_duration_mode = 7 + [(google.api.field_behavior) = IMMUTABLE]; - // Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed - // together. + // Required. Immutable. Unordered list. Filter clauses that define the + // Audience. All clauses will be AND’ed together. repeated AudienceFilterClause filter_clauses = 8 [ (google.api.field_behavior) = IMMUTABLE, (google.api.field_behavior) = REQUIRED, diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto new file mode 100644 index 000000000000..e9a0a3951125 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto @@ -0,0 +1,151 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.analytics.admin.v1alpha; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/timestamp.proto"; + +option go_package = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin"; +option java_multiple_files = true; +option java_outer_classname = "ExpandedDataSetProto"; +option java_package = "com.google.analytics.admin.v1alpha"; + +// A specific filter for a single dimension +message ExpandedDataSetFilter { + // A filter for a string-type dimension that matches a particular pattern. + message StringFilter { + // The match type for the string filter. + enum MatchType { + // Unspecified + MATCH_TYPE_UNSPECIFIED = 0; + + // Exact match of the string value. + EXACT = 1; + + // Contains the string value. + CONTAINS = 2; + } + + // Required. The match type for the string filter. + MatchType match_type = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The string value to be matched against. + string value = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. If true, the match is case-sensitive. If false, the match is + // case-insensitive. + // Must be true when match_type is EXACT. + // Must be false when match_type is CONTAINS. + bool case_sensitive = 3 [(google.api.field_behavior) = OPTIONAL]; + } + + // A filter for a string dimension that matches a particular list of options. + message InListFilter { + // Required. The list of possible string values to match against. Must be + // non-empty. + repeated string values = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. If true, the match is case-sensitive. If false, the match is + // case-insensitive. + // Must be true. + bool case_sensitive = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // One of the above filters. + oneof one_filter { + // A filter for a string-type dimension that matches a particular pattern. + StringFilter string_filter = 2; + + // A filter for a string dimension that matches a particular list of + // options. + InListFilter in_list_filter = 3; + } + + // Required. The dimension name to filter. + string field_name = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// A logical expression of EnhancedDataSet dimension filters. +message ExpandedDataSetFilterExpression { + // The expression applied to a filter. + oneof expr { + // A list of expressions to be AND’ed together. It must contain a + // ExpandedDataSetFilterExpression with either not_expression or + // dimension_filter. This must be set for the top level + // ExpandedDataSetFilterExpression. + ExpandedDataSetFilterExpressionList and_group = 1; + + // A filter expression to be NOT'ed (i.e., inverted, complemented). It + // must include a dimension_filter. This cannot be set on the + // top level ExpandedDataSetFilterExpression. + ExpandedDataSetFilterExpression not_expression = 2; + + // A filter on a single dimension. This cannot be set on the top + // level ExpandedDataSetFilterExpression. + ExpandedDataSetFilter filter = 3; + } +} + +// A list of ExpandedDataSet filter expressions. +message ExpandedDataSetFilterExpressionList { + // A list of ExpandedDataSet filter expressions. + repeated ExpandedDataSetFilterExpression filter_expressions = 1; +} + +// A resource message representing a GA4 ExpandedDataSet. +message ExpandedDataSet { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/ExpandedDataSet" + pattern: "properties/{property}/expandedDataSets/{expanded_data_set}" + }; + + // Output only. The resource name for this ExpandedDataSet resource. + // Format: properties/{property_id}/expandedDataSets/{expanded_data_set} + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The display name of the ExpandedDataSet. + // Max 200 chars. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The description of the ExpandedDataSet. + // Max 50 chars. + string description = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Immutable. The list of dimensions included in the ExpandedDataSet. + // See the [API + // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) + // for the list of dimension names. + repeated string dimension_names = 4 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The list of metrics included in the ExpandedDataSet. + // See the [API + // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) + // for the list of dimension names. + repeated string metric_names = 5 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. A logical expression of ExpandedDataSet filters applied to + // dimension included in the ExpandedDataSet. This filter is used to reduce + // the number of rows and thus the change of encountering `other row`. + ExpandedDataSetFilterExpression dimension_filter_expression = 6 + [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. Time when expanded data set began (or will begin) collecing + // data. + google.protobuf.Timestamp data_collection_start_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto index 337c7fe65fb4..eb968d9c8a50 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto @@ -16,6 +16,7 @@ syntax = "proto3"; package google.analytics.admin.v1alpha; +import "google/analytics/admin/v1alpha/expanded_data_set.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; @@ -202,6 +203,12 @@ enum ChangeHistoryResourceType { // AttributionSettings resource ATTRIBUTION_SETTINGS = 20; + + // ExpandedDataSet resource + EXPANDED_DATA_SET = 21; + + // ChannelGroup resource + CHANNEL_GROUP = 22; } // Status of the Google Signals settings (i.e., whether this feature has been @@ -306,10 +313,12 @@ message Account { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when this account was originally created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when account payload fields were last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Human-readable display name for this account. string display_name = 4 [(google.api.field_behavior) = REQUIRED]; @@ -334,17 +343,19 @@ message Property { // Example: "properties/1000" string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. The property type for this Property resource. When creating a property, if - // the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be - // implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created - // via Google Analytics Admin API. + // Immutable. The property type for this Property resource. When creating a + // property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then + // "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" + // types cannot yet be created via Google Analytics Admin API. PropertyType property_type = 14 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Time when the entity was originally created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when entity payload fields were last updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Resource name of this property's logical parent. // @@ -362,9 +373,9 @@ message Property { // Example: AUTOMOTIVE, FOOD_AND_DRINK IndustryCategory industry_category = 6; - // Required. Reporting Time Zone, used as the day boundary for reports, regardless of - // where the data originates. If the time zone honors DST, Analytics will - // automatically adjust for the changes. + // Required. Reporting Time Zone, used as the day boundary for reports, + // regardless of where the data originates. If the time zone honors DST, + // Analytics will automatically adjust for the changes. // // NOTE: Changing the time zone only affects data going forward, and is not // applied retroactively. @@ -380,17 +391,20 @@ message Property { // Examples: "USD", "EUR", "JPY" string currency_code = 8; - // Output only. The Google Analytics service level that applies to this property. + // Output only. The Google Analytics service level that applies to this + // property. ServiceLevel service_level = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, the time at which this property was trashed. If not set, then this - // property is not currently in the trash can. - google.protobuf.Timestamp delete_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If set, the time at which this property was trashed. If not + // set, then this property is not currently in the trash can. + google.protobuf.Timestamp delete_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, the time at which this trashed property will be permanently - // deleted. If not set, then this property is not currently in the trash can - // and is not slated to be deleted. - google.protobuf.Timestamp expire_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If set, the time at which this trashed property will be + // permanently deleted. If not set, then this property is not currently in the + // trash can and is not slated to be deleted. + google.protobuf.Timestamp expire_time = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The resource name of the parent account // Format: accounts/{account_id} @@ -500,10 +514,12 @@ message DataStream { string display_name = 3; // Output only. Time when this stream was originally created. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when stream payload fields were last updated. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // A resource message representing a user's permissions on an Account or @@ -572,9 +588,9 @@ message FirebaseLink { // Output only. Example format: properties/1234/firebaseLinks/5678 string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. Firebase project resource name. When creating a FirebaseLink, you may - // provide this resource name using either a project number or project ID. - // Once this resource has been created, returned FirebaseLinks will always + // Immutable. Firebase project resource name. When creating a FirebaseLink, + // you may provide this resource name using either a project number or project + // ID. Once this resource has been created, returned FirebaseLinks will always // have a project_name that contains a project number. // // Format: 'projects/{project number}' @@ -582,7 +598,8 @@ message FirebaseLink { string project = 2 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Time when this FirebaseLink was originally created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Read-only resource with the tag for sending data from a website to a @@ -598,8 +615,8 @@ message GlobalSiteTag { // Example: "properties/123/dataStreams/456/globalSiteTag" string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. JavaScript code snippet to be pasted as the first item into the head tag of - // every webpage to measure. + // Immutable. JavaScript code snippet to be pasted as the first item into the + // head tag of every webpage to measure. string snippet = 2 [(google.api.field_behavior) = IMMUTABLE]; } @@ -610,7 +627,8 @@ message GoogleAdsLink { pattern: "properties/{property}/googleAdsLinks/{google_ads_link}" }; - // Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + // Output only. Format: + // properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} // // Note: googleAdsLinkId is not the Google Ads customer ID. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -628,10 +646,12 @@ message GoogleAdsLink { google.protobuf.BoolValue ads_personalization_enabled = 5; // Output only. Time when this link was originally created. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when this link was last updated. - google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Email address of the user that created the link. // An empty string will be returned if the email address can't be retrieved. @@ -688,8 +708,8 @@ message AccountSummary { // Format: accounts/{account_id} // Example: "accounts/1000" string account = 2 [(google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/Account" - }]; + type: "analyticsadmin.googleapis.com/Account" + }]; // Display name for the account referred to in this account summary. string display_name = 3; @@ -704,8 +724,8 @@ message PropertySummary { // Format: properties/{property_id} // Example: "properties/1000" string property = 1 [(google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/Property" - }]; + type: "analyticsadmin.googleapis.com/Property" + }]; // Display name for the property referred to in this property summary. string display_name = 2; @@ -728,17 +748,16 @@ message MeasurementProtocolSecret { pattern: "properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}" }; - // Output only. Resource name of this secret. This secret may be a child of any type of - // stream. - // Format: + // Output only. Resource name of this secret. This secret may be a child of + // any type of stream. Format: // properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Human-readable display name for this secret. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Output only. The measurement protocol secret value. Pass this value to the api_secret - // field of the Measurement Protocol API when sending hits to this + // Output only. The measurement protocol secret value. Pass this value to the + // api_secret field of the Measurement Protocol API when sending hits to this // secret's parent property. string secret_value = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -798,7 +817,8 @@ message ChangeHistoryChange { // A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in // change history. - DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + DisplayVideo360AdvertiserLinkProposal + display_video_360_advertiser_link_proposal = 10; // A snapshot of a ConversionEvent resource in change history. ConversionEvent conversion_event = 11; @@ -815,11 +835,20 @@ message ChangeHistoryChange { // A snapshot of a data retention settings resource in change history. DataRetentionSettings data_retention_settings = 15; + // A snapshot of a SearchAds360Link resource in change history. + SearchAds360Link search_ads_360_link = 16; + // A snapshot of a DataStream resource in change history. DataStream data_stream = 18; // A snapshot of AttributionSettings resource in change history. AttributionSettings attribution_settings = 20; + + // A snapshot of an ExpandedDataSet resource in change history. + ExpandedDataSet expanded_data_set = 21; + + // A snapshot of a BigQuery link resource in change history. + BigQueryLink bigquery_link = 23; } } @@ -845,8 +874,9 @@ message DisplayVideo360AdvertiserLink { pattern: "properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}" }; - // Output only. The resource name for this DisplayVideo360AdvertiserLink resource. - // Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} + // Output only. The resource name for this DisplayVideo360AdvertiserLink + // resource. Format: + // properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} // // Note: linkId is not the Display & Video 360 Advertiser ID string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -855,24 +885,27 @@ message DisplayVideo360AdvertiserLink { string advertiser_id = 2 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The display name of the Display & Video 360 Advertiser. - string advertiser_display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + string advertiser_display_name = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Enables personalized advertising features with this integration. // If this field is not set on create/update, it will be defaulted to true. google.protobuf.BoolValue ads_personalization_enabled = 4; - // Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 - // property. After link creation, this can only be updated from the Display & - // Video 360 product. - // If this field is not set on create, it will be defaulted to true. - google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Enables the import of cost data from Display & Video 360 into the GA4 - // property. This can only be enabled if campaign_data_sharing_enabled is - // enabled. After link creation, this can only be updated from the Display & - // Video 360 product. - // If this field is not set on create, it will be defaulted to true. - google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(google.api.field_behavior) = IMMUTABLE]; + // Immutable. Enables the import of campaign data from Display & Video 360 + // into the GA4 property. After link creation, this can only be updated from + // the Display & Video 360 product. If this field is not set on create, it + // will be defaulted to true. + google.protobuf.BoolValue campaign_data_sharing_enabled = 5 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Enables the import of cost data from Display & Video 360 into + // the GA4 property. This can only be enabled if campaign_data_sharing_enabled + // is enabled. After link creation, this can only be updated from the Display + // & Video 360 product. If this field is not set on create, it will be + // defaulted to true. + google.protobuf.BoolValue cost_data_sharing_enabled = 6 + [(google.api.field_behavior) = IMMUTABLE]; } // A proposal for a link between a GA4 property and a Display & Video 360 @@ -887,8 +920,8 @@ message DisplayVideo360AdvertiserLinkProposal { pattern: "properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}" }; - // Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource. - // Format: + // Output only. The resource name for this + // DisplayVideo360AdvertiserLinkProposal resource. Format: // properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} // // Note: proposalId is not the Display & Video 360 Advertiser ID @@ -898,44 +931,97 @@ message DisplayVideo360AdvertiserLinkProposal { string advertiser_id = 2 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The status information for this link proposal. - LinkProposalStatusDetails link_proposal_status_details = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + LinkProposalStatusDetails link_proposal_status_details = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The display name of the Display & Video Advertiser. // Only populated for proposals that originated from Display & Video 360. - string advertiser_display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Input only. On a proposal being sent to Display & Video 360, this field must be set to - // the email address of an admin on the target advertiser. This is used to - // verify that the Google Analytics admin is aware of at least one admin on - // the Display & Video 360 Advertiser. This does not restrict approval of the - // proposal to a single user. Any admin on the Display & Video 360 Advertiser - // may approve the proposal. + string advertiser_display_name = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Input only. On a proposal being sent to Display & Video 360, this field + // must be set to the email address of an admin on the target advertiser. This + // is used to verify that the Google Analytics admin is aware of at least one + // admin on the Display & Video 360 Advertiser. This does not restrict + // approval of the proposal to a single user. Any admin on the Display & Video + // 360 Advertiser may approve the proposal. string validation_email = 5 [(google.api.field_behavior) = INPUT_ONLY]; // Immutable. Enables personalized advertising features with this integration. // If this field is not set on create, it will be defaulted to true. - google.protobuf.BoolValue ads_personalization_enabled = 6 [(google.api.field_behavior) = IMMUTABLE]; + google.protobuf.BoolValue ads_personalization_enabled = 6 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Enables the import of campaign data from Display & Video 360. // If this field is not set on create, it will be defaulted to true. - google.protobuf.BoolValue campaign_data_sharing_enabled = 7 [(google.api.field_behavior) = IMMUTABLE]; + google.protobuf.BoolValue campaign_data_sharing_enabled = 7 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Enables the import of cost data from Display & Video 360. // This can only be enabled if campaign_data_sharing_enabled is enabled. // If this field is not set on create, it will be defaulted to true. - google.protobuf.BoolValue cost_data_sharing_enabled = 8 [(google.api.field_behavior) = IMMUTABLE]; + google.protobuf.BoolValue cost_data_sharing_enabled = 8 + [(google.api.field_behavior) = IMMUTABLE]; +} + +// A link between a GA4 property and a Search Ads 360 entity. +message SearchAds360Link { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/SearchAds360Link" + pattern: "properties/{property}/searchAds360Links/{search_ads_360_link}" + }; + + // Output only. The resource name for this SearchAds360Link resource. + // Format: properties/{propertyId}/searchAds360Links/{linkId} + // + // Note: linkId is not the Search Ads 360 advertiser ID + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. This field represents the Advertiser ID of the Search Ads 360 + // Advertiser. that has been linked. + string advertiser_id = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Enables the import of campaign data from Search Ads 360 into the + // GA4 property. After link creation, this can only be updated from the Search + // Ads 360 product. + // If this field is not set on create, it will be defaulted to true. + google.protobuf.BoolValue campaign_data_sharing_enabled = 3 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Enables the import of cost data from Search Ads 360 to the GA4 + // property. This can only be enabled if campaign_data_sharing_enabled is + // enabled. After link creation, this can only be updated from + // the Search Ads 360 product. + // If this field is not set on create, it will be defaulted to true. + google.protobuf.BoolValue cost_data_sharing_enabled = 4 + [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The display name of the Search Ads 360 Advertiser. + // Allows users to easily identify the linked resource. + string advertiser_display_name = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Enables personalized advertising features with this integration. + // If this field is not set on create, it will be defaulted to true. + google.protobuf.BoolValue ads_personalization_enabled = 6; + + // Enables export of site stats with this integration. + // If this field is not set on create, it will be defaulted to true. + google.protobuf.BoolValue site_stats_sharing_enabled = 7; } // Status information for a link proposal. message LinkProposalStatusDetails { // Output only. The source of this proposal. - LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + LinkProposalInitiatingProduct link_proposal_initiating_product = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The email address of the user that proposed this linkage. string requestor_email = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The state of this proposal. - LinkProposalState link_proposal_state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + LinkProposalState link_proposal_state = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // A conversion event in a Google Analytics property. @@ -954,16 +1040,18 @@ message ConversionEvent { string event_name = 2 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Time when this conversion event was created in the property. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, this event can currently be deleted via DeleteConversionEvent. + // Output only. If set, this event can currently be deleted via + // DeleteConversionEvent. bool deletable = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set to true, this conversion event refers to a custom event. If set to - // false, this conversion event refers to a default event in GA. Default - // events typically have special meaning in GA. Default events are usually - // created for you by the GA system, but in some cases can be created by - // property admins. Custom events count towards the maximum number of + // Output only. If set to true, this conversion event refers to a custom + // event. If set to false, this conversion event refers to a default event in + // GA. Default events typically have special meaning in GA. Default events are + // usually created for you by the GA system, but in some cases can be created + // by property admins. Custom events count towards the maximum number of // custom conversion events that may be created per property. bool custom = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -1024,14 +1112,15 @@ message CustomDimension { (google.api.field_behavior) = IMMUTABLE ]; - // Required. Display name for this custom dimension as shown in the Analytics UI. - // Max length of 82 characters, alphanumeric plus space and underscore + // Required. Display name for this custom dimension as shown in the Analytics + // UI. Max length of 82 characters, alphanumeric plus space and underscore // starting with a letter. Legacy system-generated display names may contain // square brackets, but updates to this field will never permit square // brackets. string display_name = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. Description for this custom dimension. Max length of 150 characters. + // Optional. Description for this custom dimension. Max length of 150 + // characters. string description = 4 [(google.api.field_behavior) = OPTIONAL]; // Required. Immutable. The scope of this dimension. @@ -1040,11 +1129,12 @@ message CustomDimension { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. If set to true, sets this dimension as NPA and excludes it from ads - // personalization. + // Optional. If set to true, sets this dimension as NPA and excludes it from + // ads personalization. // // This is currently only supported by user-scoped custom dimensions. - bool disallow_ads_personalization = 6 [(google.api.field_behavior) = OPTIONAL]; + bool disallow_ads_personalization = 6 + [(google.api.field_behavior) = OPTIONAL]; } // A definition for a custom metric. @@ -1151,10 +1241,11 @@ message CustomMetric { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. Types of restricted data that this metric may contain. Required for metrics - // with CURRENCY measurement unit. Must be empty for metrics with a - // non-CURRENCY measurement unit. - repeated RestrictedMetricType restricted_metric_type = 8 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Types of restricted data that this metric may contain. Required + // for metrics with CURRENCY measurement unit. Must be empty for metrics with + // a non-CURRENCY measurement unit. + repeated RestrictedMetricType restricted_metric_type = 8 + [(google.api.field_behavior) = OPTIONAL]; } // Settings values for data retention. This is a singleton resource. @@ -1282,19 +1373,67 @@ message AttributionSettings { // Example: "properties/1000/attributionSettings" string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. The lookback window configuration for acquisition conversion events. - // The default window size is 30 days. - AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The lookback window configuration for acquisition conversion + // events. The default window size is 30 days. + AcquisitionConversionEventLookbackWindow + acquisition_conversion_event_lookback_window = 2 + [(google.api.field_behavior) = REQUIRED]; - // Required. The lookback window for all other, non-acquisition conversion events. - // The default window size is 90 days. - OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(google.api.field_behavior) = REQUIRED]; + // Required. The lookback window for all other, non-acquisition conversion + // events. The default window size is 90 days. + OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 + [(google.api.field_behavior) = REQUIRED]; - // Required. The reporting attribution model used to calculate conversion credit in this - // property's reports. + // Required. The reporting attribution model used to calculate conversion + // credit in this property's reports. // // Changing the attribution model will apply to both historical and future // data. These changes will be reflected in reports with conversion and // revenue data. User and session data will be unaffected. - ReportingAttributionModel reporting_attribution_model = 4 [(google.api.field_behavior) = REQUIRED]; + ReportingAttributionModel reporting_attribution_model = 4 + [(google.api.field_behavior) = REQUIRED]; +} + +// A link between a GA4 Property and BigQuery project. +message BigQueryLink { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/BigQueryLink" + pattern: "properties/{property}/bigQueryLinks/{bigquery_link}" + }; + + // Output only. Resource name of this BigQuery link. + // Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' + // Format: 'properties/1234/bigQueryLinks/abc567' + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The linked Google Cloud project. When creating a BigQueryLink, + // you may provide this resource name using either a project number or project + // ID. Once this resource has been created, the returned project will always + // have a project that contains a project number. + // Format: 'projects/{project number}' + // Example: 'projects/1234' + string project = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. Time when the link was created. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // If set true, enables daily data export to the linked Google Cloud project. + bool daily_export_enabled = 4; + + // If set true, enables streaming export to the linked Google Cloud project. + bool streaming_export_enabled = 5; + + // If set true, exported data will include advertising identifiers for mobile + // app streams. + bool include_advertising_id = 6; + + // The list of streams under the parent property for which data will be + // exported. + // Format: properties/{property_id}/dataStreams/{stream_id} + // Example: ['properties/1000/dataStreams/2000'] + repeated string export_streams = 7; + + // The list of event names that will be excluded from exports. + repeated string excluded_events = 8; } diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java new file mode 100644 index 000000000000..3d6f8bb647db --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.api.core.ApiFuture; + +public class AsyncCreateSearchAds360Link { + + public static void main(String[] args) throws Exception { + asyncCreateSearchAds360Link(); + } + + public static void asyncCreateSearchAds360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + CreateSearchAds360LinkRequest request = + CreateSearchAds360LinkRequest.newBuilder() + .setParent(PropertyName.of("[PROPERTY]").toString()) + .setSearchAds360Link(SearchAds360Link.newBuilder().build()) + .build(); + ApiFuture future = + analyticsAdminServiceClient.createSearchAds360LinkCallable().futureCall(request); + // Do something. + SearchAds360Link response = future.get(); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java new file mode 100644 index 000000000000..de2d89792857 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; + +public class SyncCreateSearchAds360Link { + + public static void main(String[] args) throws Exception { + syncCreateSearchAds360Link(); + } + + public static void syncCreateSearchAds360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + CreateSearchAds360LinkRequest request = + CreateSearchAds360LinkRequest.newBuilder() + .setParent(PropertyName.of("[PROPERTY]").toString()) + .setSearchAds360Link(SearchAds360Link.newBuilder().build()) + .build(); + SearchAds360Link response = analyticsAdminServiceClient.createSearchAds360Link(request); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java new file mode 100644 index 000000000000..28fc382f541a --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_PropertynameSearchads360Link_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; + +public class SyncCreateSearchAds360LinkPropertynameSearchads360Link { + + public static void main(String[] args) throws Exception { + syncCreateSearchAds360LinkPropertynameSearchads360Link(); + } + + public static void syncCreateSearchAds360LinkPropertynameSearchads360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + PropertyName parent = PropertyName.of("[PROPERTY]"); + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + SearchAds360Link response = + analyticsAdminServiceClient.createSearchAds360Link(parent, searchAds360Link); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_PropertynameSearchads360Link_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java new file mode 100644 index 000000000000..fda9a4e2398d --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_StringSearchads360Link_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; + +public class SyncCreateSearchAds360LinkStringSearchads360Link { + + public static void main(String[] args) throws Exception { + syncCreateSearchAds360LinkStringSearchads360Link(); + } + + public static void syncCreateSearchAds360LinkStringSearchads360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + String parent = PropertyName.of("[PROPERTY]").toString(); + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + SearchAds360Link response = + analyticsAdminServiceClient.createSearchAds360Link(parent, searchAds360Link); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_StringSearchads360Link_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java new file mode 100644 index 000000000000..19a472b711ae --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest; +import com.google.analytics.admin.v1alpha.SearchAds360LinkName; +import com.google.api.core.ApiFuture; +import com.google.protobuf.Empty; + +public class AsyncDeleteSearchAds360Link { + + public static void main(String[] args) throws Exception { + asyncDeleteSearchAds360Link(); + } + + public static void asyncDeleteSearchAds360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + DeleteSearchAds360LinkRequest request = + DeleteSearchAds360LinkRequest.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .build(); + ApiFuture future = + analyticsAdminServiceClient.deleteSearchAds360LinkCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java new file mode 100644 index 000000000000..35b4b214ab16 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest; +import com.google.analytics.admin.v1alpha.SearchAds360LinkName; +import com.google.protobuf.Empty; + +public class SyncDeleteSearchAds360Link { + + public static void main(String[] args) throws Exception { + syncDeleteSearchAds360Link(); + } + + public static void syncDeleteSearchAds360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + DeleteSearchAds360LinkRequest request = + DeleteSearchAds360LinkRequest.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .build(); + analyticsAdminServiceClient.deleteSearchAds360Link(request); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java new file mode 100644 index 000000000000..16c786f97235 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_Searchads360Linkname_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SearchAds360LinkName; +import com.google.protobuf.Empty; + +public class SyncDeleteSearchAds360LinkSearchads360Linkname { + + public static void main(String[] args) throws Exception { + syncDeleteSearchAds360LinkSearchads360Linkname(); + } + + public static void syncDeleteSearchAds360LinkSearchads360Linkname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + analyticsAdminServiceClient.deleteSearchAds360Link(name); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_Searchads360Linkname_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java new file mode 100644 index 000000000000..3905c10db73f --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_String_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SearchAds360LinkName; +import com.google.protobuf.Empty; + +public class SyncDeleteSearchAds360LinkString { + + public static void main(String[] args) throws Exception { + syncDeleteSearchAds360LinkString(); + } + + public static void syncDeleteSearchAds360LinkString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + String name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString(); + analyticsAdminServiceClient.deleteSearchAds360Link(name); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_String_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java new file mode 100644 index 000000000000..16f814f22927 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_FetchAutomatedGa4ConfigurationOptOut_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse; +import com.google.api.core.ApiFuture; + +public class AsyncFetchAutomatedGa4ConfigurationOptOut { + + public static void main(String[] args) throws Exception { + asyncFetchAutomatedGa4ConfigurationOptOut(); + } + + public static void asyncFetchAutomatedGa4ConfigurationOptOut() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + FetchAutomatedGa4ConfigurationOptOutRequest request = + FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .build(); + ApiFuture future = + analyticsAdminServiceClient + .fetchAutomatedGa4ConfigurationOptOutCallable() + .futureCall(request); + // Do something. + FetchAutomatedGa4ConfigurationOptOutResponse response = future.get(); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_FetchAutomatedGa4ConfigurationOptOut_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java new file mode 100644 index 000000000000..a9200f127155 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_FetchAutomatedGa4ConfigurationOptOut_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse; + +public class SyncFetchAutomatedGa4ConfigurationOptOut { + + public static void main(String[] args) throws Exception { + syncFetchAutomatedGa4ConfigurationOptOut(); + } + + public static void syncFetchAutomatedGa4ConfigurationOptOut() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + FetchAutomatedGa4ConfigurationOptOutRequest request = + FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .build(); + FetchAutomatedGa4ConfigurationOptOutResponse response = + analyticsAdminServiceClient.fetchAutomatedGa4ConfigurationOptOut(request); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_FetchAutomatedGa4ConfigurationOptOut_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java new file mode 100644 index 000000000000..afbad04ac4e3 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.BigQueryLinkName; +import com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest; +import com.google.api.core.ApiFuture; + +public class AsyncGetBigQueryLink { + + public static void main(String[] args) throws Exception { + asyncGetBigQueryLink(); + } + + public static void asyncGetBigQueryLink() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + GetBigQueryLinkRequest request = + GetBigQueryLinkRequest.newBuilder() + .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString()) + .build(); + ApiFuture future = + analyticsAdminServiceClient.getBigQueryLinkCallable().futureCall(request); + // Do something. + BigQueryLink response = future.get(); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java new file mode 100644 index 000000000000..bfffa7e32cf7 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.BigQueryLinkName; +import com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest; + +public class SyncGetBigQueryLink { + + public static void main(String[] args) throws Exception { + syncGetBigQueryLink(); + } + + public static void syncGetBigQueryLink() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + GetBigQueryLinkRequest request = + GetBigQueryLinkRequest.newBuilder() + .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString()) + .build(); + BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(request); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java new file mode 100644 index 000000000000..5262e597c752 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_Bigquerylinkname_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.BigQueryLinkName; + +public class SyncGetBigQueryLinkBigquerylinkname { + + public static void main(String[] args) throws Exception { + syncGetBigQueryLinkBigquerylinkname(); + } + + public static void syncGetBigQueryLinkBigquerylinkname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + BigQueryLinkName name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]"); + BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(name); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_Bigquerylinkname_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java new file mode 100644 index 000000000000..4a94d9defd3b --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_String_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.BigQueryLinkName; + +public class SyncGetBigQueryLinkString { + + public static void main(String[] args) throws Exception { + syncGetBigQueryLinkString(); + } + + public static void syncGetBigQueryLinkString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + String name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString(); + BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(name); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_String_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java new file mode 100644 index 000000000000..e03b5e5092ce --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.analytics.admin.v1alpha.SearchAds360LinkName; +import com.google.api.core.ApiFuture; + +public class AsyncGetSearchAds360Link { + + public static void main(String[] args) throws Exception { + asyncGetSearchAds360Link(); + } + + public static void asyncGetSearchAds360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + GetSearchAds360LinkRequest request = + GetSearchAds360LinkRequest.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .build(); + ApiFuture future = + analyticsAdminServiceClient.getSearchAds360LinkCallable().futureCall(request); + // Do something. + SearchAds360Link response = future.get(); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java new file mode 100644 index 000000000000..7af0d34971b4 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.analytics.admin.v1alpha.SearchAds360LinkName; + +public class SyncGetSearchAds360Link { + + public static void main(String[] args) throws Exception { + syncGetSearchAds360Link(); + } + + public static void syncGetSearchAds360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + GetSearchAds360LinkRequest request = + GetSearchAds360LinkRequest.newBuilder() + .setName(SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString()) + .build(); + SearchAds360Link response = analyticsAdminServiceClient.getSearchAds360Link(request); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java new file mode 100644 index 000000000000..96ceff5963bb --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_Searchads360Linkname_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.analytics.admin.v1alpha.SearchAds360LinkName; + +public class SyncGetSearchAds360LinkSearchads360Linkname { + + public static void main(String[] args) throws Exception { + syncGetSearchAds360LinkSearchads360Linkname(); + } + + public static void syncGetSearchAds360LinkSearchads360Linkname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + SearchAds360LinkName name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]"); + SearchAds360Link response = analyticsAdminServiceClient.getSearchAds360Link(name); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_Searchads360Linkname_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java new file mode 100644 index 000000000000..e9b65aa97f43 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_String_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.analytics.admin.v1alpha.SearchAds360LinkName; + +public class SyncGetSearchAds360LinkString { + + public static void main(String[] args) throws Exception { + syncGetSearchAds360LinkString(); + } + + public static void syncGetSearchAds360LinkString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + String name = SearchAds360LinkName.of("[PROPERTY]", "[SEARCH_ADS_360_LINK]").toString(); + SearchAds360Link response = analyticsAdminServiceClient.getSearchAds360Link(name); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_String_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java new file mode 100644 index 000000000000..a6e7730056ff --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.api.core.ApiFuture; + +public class AsyncListBigQueryLinks { + + public static void main(String[] args) throws Exception { + asyncListBigQueryLinks(); + } + + public static void asyncListBigQueryLinks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + ListBigQueryLinksRequest request = + ListBigQueryLinksRequest.newBuilder() + .setParent(PropertyName.of("[PROPERTY]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + analyticsAdminServiceClient.listBigQueryLinksPagedCallable().futureCall(request); + // Do something. + for (BigQueryLink element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java new file mode 100644 index 000000000000..2e0f588b14b3 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java @@ -0,0 +1,63 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_Paged_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.common.base.Strings; + +public class AsyncListBigQueryLinksPaged { + + public static void main(String[] args) throws Exception { + asyncListBigQueryLinksPaged(); + } + + public static void asyncListBigQueryLinksPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + ListBigQueryLinksRequest request = + ListBigQueryLinksRequest.newBuilder() + .setParent(PropertyName.of("[PROPERTY]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListBigQueryLinksResponse response = + analyticsAdminServiceClient.listBigQueryLinksCallable().call(request); + for (BigQueryLink element : response.getBigqueryLinksList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_Paged_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java new file mode 100644 index 000000000000..638a25a57455 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest; +import com.google.analytics.admin.v1alpha.PropertyName; + +public class SyncListBigQueryLinks { + + public static void main(String[] args) throws Exception { + syncListBigQueryLinks(); + } + + public static void syncListBigQueryLinks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + ListBigQueryLinksRequest request = + ListBigQueryLinksRequest.newBuilder() + .setParent(PropertyName.of("[PROPERTY]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (BigQueryLink element : + analyticsAdminServiceClient.listBigQueryLinks(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java new file mode 100644 index 000000000000..9d4283f2c76a --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_Propertyname_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.PropertyName; + +public class SyncListBigQueryLinksPropertyname { + + public static void main(String[] args) throws Exception { + syncListBigQueryLinksPropertyname(); + } + + public static void syncListBigQueryLinksPropertyname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + PropertyName parent = PropertyName.of("[PROPERTY]"); + for (BigQueryLink element : + analyticsAdminServiceClient.listBigQueryLinks(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_Propertyname_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java new file mode 100644 index 000000000000..84250fbf85c5 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_String_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.BigQueryLink; +import com.google.analytics.admin.v1alpha.PropertyName; + +public class SyncListBigQueryLinksString { + + public static void main(String[] args) throws Exception { + syncListBigQueryLinksString(); + } + + public static void syncListBigQueryLinksString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + String parent = PropertyName.of("[PROPERTY]").toString(); + for (BigQueryLink element : + analyticsAdminServiceClient.listBigQueryLinks(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_String_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java new file mode 100644 index 000000000000..d489bc13adaa --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.api.core.ApiFuture; + +public class AsyncListSearchAds360Links { + + public static void main(String[] args) throws Exception { + asyncListSearchAds360Links(); + } + + public static void asyncListSearchAds360Links() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + ListSearchAds360LinksRequest request = + ListSearchAds360LinksRequest.newBuilder() + .setParent(PropertyName.of("[PROPERTY]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + analyticsAdminServiceClient.listSearchAds360LinksPagedCallable().futureCall(request); + // Do something. + for (SearchAds360Link element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java new file mode 100644 index 000000000000..c919271c1641 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java @@ -0,0 +1,63 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_Paged_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.common.base.Strings; + +public class AsyncListSearchAds360LinksPaged { + + public static void main(String[] args) throws Exception { + asyncListSearchAds360LinksPaged(); + } + + public static void asyncListSearchAds360LinksPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + ListSearchAds360LinksRequest request = + ListSearchAds360LinksRequest.newBuilder() + .setParent(PropertyName.of("[PROPERTY]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListSearchAds360LinksResponse response = + analyticsAdminServiceClient.listSearchAds360LinksCallable().call(request); + for (SearchAds360Link element : response.getSearchAds360LinksList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_Paged_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java new file mode 100644 index 000000000000..e7e6188d20c7 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; + +public class SyncListSearchAds360Links { + + public static void main(String[] args) throws Exception { + syncListSearchAds360Links(); + } + + public static void syncListSearchAds360Links() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + ListSearchAds360LinksRequest request = + ListSearchAds360LinksRequest.newBuilder() + .setParent(PropertyName.of("[PROPERTY]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (SearchAds360Link element : + analyticsAdminServiceClient.listSearchAds360Links(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java new file mode 100644 index 000000000000..1e4ed9ec5994 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_Propertyname_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; + +public class SyncListSearchAds360LinksPropertyname { + + public static void main(String[] args) throws Exception { + syncListSearchAds360LinksPropertyname(); + } + + public static void syncListSearchAds360LinksPropertyname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + PropertyName parent = PropertyName.of("[PROPERTY]"); + for (SearchAds360Link element : + analyticsAdminServiceClient.listSearchAds360Links(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_Propertyname_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java new file mode 100644 index 000000000000..6136504ec83d --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_String_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.PropertyName; +import com.google.analytics.admin.v1alpha.SearchAds360Link; + +public class SyncListSearchAds360LinksString { + + public static void main(String[] args) throws Exception { + syncListSearchAds360LinksString(); + } + + public static void syncListSearchAds360LinksString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + String parent = PropertyName.of("[PROPERTY]").toString(); + for (SearchAds360Link element : + analyticsAdminServiceClient.listSearchAds360Links(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_String_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java new file mode 100644 index 000000000000..6641b9d096b9 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_SetAutomatedGa4ConfigurationOptOut_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse; +import com.google.api.core.ApiFuture; + +public class AsyncSetAutomatedGa4ConfigurationOptOut { + + public static void main(String[] args) throws Exception { + asyncSetAutomatedGa4ConfigurationOptOut(); + } + + public static void asyncSetAutomatedGa4ConfigurationOptOut() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + SetAutomatedGa4ConfigurationOptOutRequest request = + SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .setOptOut(true) + .build(); + ApiFuture future = + analyticsAdminServiceClient + .setAutomatedGa4ConfigurationOptOutCallable() + .futureCall(request); + // Do something. + SetAutomatedGa4ConfigurationOptOutResponse response = future.get(); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_SetAutomatedGa4ConfigurationOptOut_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java new file mode 100644 index 000000000000..e101d284333e --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_SetAutomatedGa4ConfigurationOptOut_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest; +import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse; + +public class SyncSetAutomatedGa4ConfigurationOptOut { + + public static void main(String[] args) throws Exception { + syncSetAutomatedGa4ConfigurationOptOut(); + } + + public static void syncSetAutomatedGa4ConfigurationOptOut() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + SetAutomatedGa4ConfigurationOptOutRequest request = + SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() + .setProperty("property-993141291") + .setOptOut(true) + .build(); + SetAutomatedGa4ConfigurationOptOutResponse response = + analyticsAdminServiceClient.setAutomatedGa4ConfigurationOptOut(request); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_SetAutomatedGa4ConfigurationOptOut_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java new file mode 100644 index 000000000000..a4d2459de825 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_async] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; +import com.google.api.core.ApiFuture; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateSearchAds360Link { + + public static void main(String[] args) throws Exception { + asyncUpdateSearchAds360Link(); + } + + public static void asyncUpdateSearchAds360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + UpdateSearchAds360LinkRequest request = + UpdateSearchAds360LinkRequest.newBuilder() + .setSearchAds360Link(SearchAds360Link.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + analyticsAdminServiceClient.updateSearchAds360LinkCallable().futureCall(request); + // Do something. + SearchAds360Link response = future.get(); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_async] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java new file mode 100644 index 000000000000..384dcd2d31d0 --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateSearchAds360Link { + + public static void main(String[] args) throws Exception { + syncUpdateSearchAds360Link(); + } + + public static void syncUpdateSearchAds360Link() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + UpdateSearchAds360LinkRequest request = + UpdateSearchAds360LinkRequest.newBuilder() + .setSearchAds360Link(SearchAds360Link.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + SearchAds360Link response = analyticsAdminServiceClient.updateSearchAds360Link(request); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_sync] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java new file mode 100644 index 000000000000..3cca3263798d --- /dev/null +++ b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.analytics.admin.v1alpha.samples; + +// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_Searchads360LinkFieldmask_sync] +import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient; +import com.google.analytics.admin.v1alpha.SearchAds360Link; +import com.google.protobuf.FieldMask; + +public class SyncUpdateSearchAds360LinkSearchads360LinkFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateSearchAds360LinkSearchads360LinkFieldmask(); + } + + public static void syncUpdateSearchAds360LinkSearchads360LinkFieldmask() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + AnalyticsAdminServiceClient.create()) { + SearchAds360Link searchAds360Link = SearchAds360Link.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + SearchAds360Link response = + analyticsAdminServiceClient.updateSearchAds360Link(searchAds360Link, updateMask); + } + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_Searchads360LinkFieldmask_sync]